mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-28 12:10:28 +00:00
Move the remaining CSSStyleDeclaration property-name APIs to Utf16FlyString. This lets CSSOM binding and generated accessor code pass JS property names without first constructing FlyString values. Keep internal custom-property and descriptor storage unchanged for now. Those remaining FlyString conversions are at storage boundaries that will be migrated in follow-up commits.
16 lines
672 B
Text
16 lines
672 B
Text
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
|
[Exposed=Window]
|
|
interface CSSStyleDeclaration {
|
|
[CEReactions] attribute CSSOMString cssText;
|
|
|
|
readonly attribute unsigned long length;
|
|
getter CSSOMString item(unsigned long index);
|
|
|
|
CSSOMString getPropertyValue(Utf16CSSOMString property);
|
|
CSSOMString getPropertyPriority(Utf16CSSOMString property);
|
|
|
|
[CEReactions] undefined setProperty(Utf16CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
|
[CEReactions] CSSOMString removeProperty(Utf16CSSOMString property);
|
|
|
|
readonly attribute CSSRule? parentRule;
|
|
};
|