CSSStyleRule
Generated from idl/cssom.webidl when the site was built at 7aa23e2.
CSSStyleRule is an interface in idl/cssom.webidl, inheriting CSSGroupingRule, exposed in Window. What it does is on MDN; this page says what niso has of it.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| CSS object model | Widely available | Partial 55% 123 of 221 subtests pass | 3 |
Members
Section titled “Members”selectorText
Section titled “selectorText”attribute DOMString selectorText;int32_t niso_css_style_rule_get_selector_text(niso_dom* dom, niso_handle self, niso_str* out);int32_t niso_css_style_rule_set_selector_text(niso_dom* dom, niso_handle self, const char* value, size_t value_len);[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;int32_t niso_css_style_rule_get_style(niso_dom* dom, niso_handle self, niso_handle* out);Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
cssRules(Nesting)deleteRule(Nesting)insertRule(Nesting)styleMap(CSS typed object model)