2026-05-18 16:52:26 -03:00
|
|
|
// https://drafts.csswg.org/cssom-1/#cssomstring
|
|
|
|
|
typedef DOMString CSSOMString;
|
2026-06-08 15:22:06 -03:00
|
|
|
typedef Utf16DOMString Utf16CSSOMString;
|
2026-05-18 16:52:26 -03:00
|
|
|
|
2025-07-18 09:17:42 -03:00
|
|
|
dictionary PropertyDefinition {
|
|
|
|
|
required CSSOMString name;
|
|
|
|
|
CSSOMString syntax = "*";
|
|
|
|
|
required boolean inherits;
|
|
|
|
|
CSSOMString initialValue;
|
|
|
|
|
};
|
|
|
|
|
|
2026-03-23 08:09:30 -03:00
|
|
|
// https://drafts.csswg.org/cssom-1/#namespacedef-css
|
2023-03-15 11:55:53 -03:00
|
|
|
[Exposed=Window]
|
|
|
|
|
namespace CSS {
|
|
|
|
|
CSSOMString escape(CSSOMString ident);
|
|
|
|
|
|
2026-06-08 15:22:06 -03:00
|
|
|
boolean supports(Utf16CSSOMString property, CSSOMString value);
|
2023-03-15 11:55:53 -03:00
|
|
|
boolean supports(CSSOMString conditionText);
|
2025-07-18 09:17:42 -03:00
|
|
|
|
2026-03-23 08:09:30 -03:00
|
|
|
// https://drafts.css-houdini.org/css-properties-values-api-1/#dom-css-registerproperty
|
2025-07-18 09:17:42 -03:00
|
|
|
undefined registerProperty(PropertyDefinition definition);
|
2025-08-18 12:01:33 -03:00
|
|
|
|
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#numeric-factory
|
2025-09-02 11:50:05 -03:00
|
|
|
// NB: Generated by GenerateCSSNumericFactoryMethods.cpp
|
2023-03-15 11:55:53 -03:00
|
|
|
};
|