summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSStyleDeclaration.idl
blob: 725ca646bc9cff38986b5e1b5a0e5e6f89169b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// https://drafts.csswg.org/cssom/#cssstyledeclaration
[Exposed=Window]
interface CSSStyleDeclaration {

    [CEReactions] attribute CSSOMString cssText;

    readonly attribute unsigned long length;
    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);

};