2025-07-18 14:17:42 +02:00
|
|
|
dictionary PropertyDefinition {
|
|
|
|
required CSSOMString name;
|
|
|
|
CSSOMString syntax = "*";
|
|
|
|
required boolean inherits;
|
|
|
|
CSSOMString initialValue;
|
|
|
|
};
|
|
|
|
|
2023-03-15 10:55:53 -04:00
|
|
|
// https://www.w3.org/TR/cssom-1/#namespacedef-css
|
|
|
|
[Exposed=Window]
|
|
|
|
namespace CSS {
|
|
|
|
CSSOMString escape(CSSOMString ident);
|
|
|
|
|
|
|
|
boolean supports(CSSOMString property, CSSOMString value);
|
|
|
|
boolean supports(CSSOMString conditionText);
|
2025-07-18 14:17:42 +02:00
|
|
|
|
|
|
|
// https://www.w3.org/TR/css-properties-values-api-1/#dom-css-registerproperty
|
|
|
|
undefined registerProperty(PropertyDefinition definition);
|
2023-03-15 10:55:53 -04:00
|
|
|
};
|