ladybird/Libraries/LibWeb/CSS/CSS.idl
Shannon Booth 73e7cacd78 LibWeb+LibIDL: Define CSSOMString as a DOMString typedef
Add the CSSOMString typedef from CSSOM and stop treating it as a builtin
IDL string type.

This makes CSSOMString follow normal typedef resolution instead of being
special-cased in LibIDL.
2026-05-19 15:33:18 +02:00

24 lines
777 B
Text

// https://drafts.csswg.org/cssom-1/#cssomstring
typedef DOMString CSSOMString;
dictionary PropertyDefinition {
required CSSOMString name;
CSSOMString syntax = "*";
required boolean inherits;
CSSOMString initialValue;
};
// https://drafts.csswg.org/cssom-1/#namespacedef-css
[Exposed=Window]
namespace CSS {
CSSOMString escape(CSSOMString ident);
boolean supports(CSSOMString property, CSSOMString value);
boolean supports(CSSOMString conditionText);
// https://drafts.css-houdini.org/css-properties-values-api-1/#dom-css-registerproperty
undefined registerProperty(PropertyDefinition definition);
// https://drafts.css-houdini.org/css-typed-om-1/#numeric-factory
// NB: Generated by GenerateCSSNumericFactoryMethods.cpp
};