WebIDLpedia

CSSColorValue interface

Definition

CSS Typed OM Level 1 defines CSSColorValue



[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface CSSColorValue : CSSStyleValue {
    [Exposed=Window] static (CSSColorValue or CSSStyleValue) parse(USVString cssText);
};

Methods and attributes that return objects implementing CSSColorValue

Referring IDL interfaces/dictionaries