Skip to content

CSSImportRule

Generated from idl/cssom.webidl when the site was built at 7aa23e2.

CSSImportRule is an interface in idl/cssom.webidl, inheriting CSSRule, 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
@import Widely available Partial 73% 28 of 38 subtests pass 2
attribute
readonly attribute USVString href;
int32_t niso_css_import_rule_get_href(niso_dom* dom, niso_handle self, niso_str* out);

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.

  • layerName (Cascade layers)
  • media (@import)
  • styleSheet (@import)
  • supportsText (@supports)