Skip to content

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.

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
attribute
readonly attribute DOMString type;
int32_t niso_style_sheet_get_type(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute USVString? href;
int32_t niso_style_sheet_get_href(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute Element? ownerNode;
int32_t niso_style_sheet_get_owner_node(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute CSSStyleSheet? parentStyleSheet;
int32_t niso_style_sheet_get_parent_style_sheet(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute DOMString? title;
int32_t niso_style_sheet_get_title(niso_dom* dom, niso_handle self, niso_str* out);
attribute
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);

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)