Skip to content

CSS

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

CSS is a namespace in idl/cssom.webidl, exposed in Window. What it does is on MDN; this page says what niso has of it.

CSSOM’s escape() and CSS Conditional’s supports(). The standard’s two supports() overloads are one operation here, told apart by whether value is given.

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 1
operation
DOMString escape(DOMString ident);
int32_t niso_css_escape(niso_dom* dom, const char* ident, size_t ident_len, niso_str* out);
operation
boolean supports(DOMString conditionTextOrProperty, optional DOMString value);
int32_t niso_css_supports(niso_dom* dom, const char* condition_text_or_property, size_t condition_text_or_property_len, const char* value, size_t value_len, bool* out);
operation not in JS
[NisoInternal] Float64Array parseTransformList(DOMString text);
int32_t niso_css_parse_transform_list(niso_dom* dom, const char* text, size_t text_len, niso_bytes* out);

The Geometry Interfaces’ parsing of a DOMMatrix’s string: the matrix of a <transform-list> of absolute lengths, m11 to m44, then 1 when every function is 2D or else 0, as native-endian doubles; a SyntaxError when it does not parse.

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.

  • Hz_static (Numeric factory functions)
  • Q_static (Numeric factory functions)
  • cap_static (Numeric factory functions)
  • ch_static (Numeric factory functions)
  • cm_static (Numeric factory functions)
  • cqb_static (Numeric factory functions)
  • cqh_static (Numeric factory functions)
  • cqi_static (Numeric factory functions)
  • cqmax_static (Numeric factory functions)
  • cqmin_static (Numeric factory functions)
  • cqw_static (Numeric factory functions)
  • deg_static (Numeric factory functions)
  • dpcm_static (Numeric factory functions)
  • dpi_static (Numeric factory functions)
  • dppx_static (Numeric factory functions)
  • dvb_static (Numeric factory functions)
  • dvh_static (Numeric factory functions)
  • dvi_static (Numeric factory functions)
  • dvmax_static (Numeric factory functions)
  • dvmin_static (Numeric factory functions)
  • dvw_static (Numeric factory functions)
  • em_static (Numeric factory functions)
  • escape_static (CSS.escape())
  • ex_static (Numeric factory functions)
  • fr_static (Numeric factory functions)
  • grad_static (Numeric factory functions)
  • highlights_static (Custom highlights)
  • ic_static (Numeric factory functions)
  • in_static (Numeric factory functions)
  • kHz_static (Numeric factory functions)
  • lh_static (Numeric factory functions)
  • lvb_static (Numeric factory functions)
  • lvh_static (Numeric factory functions)
  • lvi_static (Numeric factory functions)
  • lvmax_static (Numeric factory functions)
  • lvmin_static (Numeric factory functions)
  • lvw_static (Numeric factory functions)
  • mm_static (Numeric factory functions)
  • ms_static (Numeric factory functions)
  • number_static (Numeric factory functions)
  • paintWorklet_static (paint())
  • pc_static (Numeric factory functions)
  • percent_static (Numeric factory functions)
  • pt_static (Numeric factory functions)
  • px_static (Numeric factory functions)
  • rad_static (Numeric factory functions)
  • rcap_static (Numeric factory functions)
  • rch_static (Numeric factory functions)
  • registerProperty_static (Registered custom properties)
  • rem_static (Numeric factory functions)
  • rex_static (Numeric factory functions)
  • ric_static (Numeric factory functions)
  • rlh_static (Numeric factory functions)
  • s_static (Numeric factory functions)
  • supports_static (CSS.supports())
  • svb_static (Numeric factory functions)
  • svh_static (Numeric factory functions)
  • svi_static (Numeric factory functions)
  • svmax_static (Numeric factory functions)
  • svmin_static (Numeric factory functions)
  • svw_static (Numeric factory functions)
  • turn_static (Numeric factory functions)
  • vb_static (Numeric factory functions)
  • vh_static (Numeric factory functions)
  • vi_static (Numeric factory functions)
  • vmax_static (Numeric factory functions)
  • vmin_static (Numeric factory functions)
  • vw_static (Numeric factory functions)