StyleSheet
Generated from idl/cssom.webidl when the site was built at 7aa23e2.
StyleSheet is an interface in idl/cssom.webidl, 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 | 7 |
Members
Section titled “Members”readonly attribute DOMString type;int32_t niso_style_sheet_get_type(niso_dom* dom, niso_handle self, niso_str* out);readonly attribute USVString? href;int32_t niso_style_sheet_get_href(niso_dom* dom, niso_handle self, niso_str* out);ownerNode
Section titled “ownerNode”readonly attribute Element? ownerNode;int32_t niso_style_sheet_get_owner_node(niso_dom* dom, niso_handle self, niso_handle* out);parentStyleSheet
Section titled “parentStyleSheet”readonly attribute CSSStyleSheet? parentStyleSheet;int32_t niso_style_sheet_get_parent_style_sheet(niso_dom* dom, niso_handle self, niso_handle* out);readonly attribute DOMString? title;int32_t niso_style_sheet_get_title(niso_dom* dom, niso_handle self, niso_str* out);disabled
Section titled “disabled”attribute boolean disabled;int32_t niso_style_sheet_get_disabled(niso_dom* dom, niso_handle self, bool* out);int32_t niso_style_sheet_set_disabled(niso_dom* dom, niso_handle self, bool value);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.
media(CSS object model)