1 pub mod css {
2     #![allow(unused_imports)]
3     use super::super::*;
4     use wasm_bindgen::prelude::*;
5     #[wasm_bindgen]
6     extern "C" {
7         # [wasm_bindgen (js_namespace = CSS , js_name = escape)]
8         #[doc = "The `CSS.escape()` function."]
9         #[doc = ""]
10         #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape)"]
11         #[doc = ""]
12         #[doc = "*This API requires the following crate features to be activated: `css`*"]
escape(ident: &str) -> String13         pub fn escape(ident: &str) -> String;
14         # [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
15         #[doc = "The `CSS.supports()` function."]
16         #[doc = ""]
17         #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
18         #[doc = ""]
19         #[doc = "*This API requires the following crate features to be activated: `css`*"]
supports_with_value(property: &str, value: &str) -> Result<bool, JsValue>20         pub fn supports_with_value(property: &str, value: &str) -> Result<bool, JsValue>;
21         # [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
22         #[doc = "The `CSS.supports()` function."]
23         #[doc = ""]
24         #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
25         #[doc = ""]
26         #[doc = "*This API requires the following crate features to be activated: `css`*"]
supports(condition_text: &str) -> Result<bool, JsValue>27         pub fn supports(condition_text: &str) -> Result<bool, JsValue>;
28     }
29 }
30