mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
22 lines
900 B
Text
22 lines
900 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(CSSOMString property);
|
|
CSSOMString getPropertyPriority(CSSOMString property);
|
|
|
|
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
|
|
|
readonly attribute CSSRule? parentRule;
|
|
|
|
// NOTE: cssFloat is implemented manually in the bindings code, along with the other property accessors.
|
|
// Hence, this does not need to be implemented.
|
|
// [CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
|
|
|
|
};
|