Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ideas:color-object [2014/07/10 02:08] – <code idl> crissovideas:color-object [2021/10/01 15:36] (current) fantasai
Line 1: Line 1:
 +<note>
 +This has been superseded by work on a common color API for the Web Platform and by work on Typed OM for manipulating CSS syntax specifically.
 +</note>
 +
 <code idl> <code idl>
   [Constructor(double r, double g, double b, optional double a=1),   [Constructor(double r, double g, double b, optional double a=1),
Line 16: Line 20:
     static RGBAColor fromHex(optional HexColorInit color);     static RGBAColor fromHex(optional HexColorInit color);
          
-    DOMString? asKeyword(); +    DOMString? asName();
-    /* Add fromKeyword()? Add "keyword" serialization type? Needs rounding. */+
          
     DOMString toString(optional DOMString type="rgba");     DOMString toString(optional DOMString type="rgba");
 
ideas/color-object.1404983281.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki