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
Next revisionBoth sides next revision
spec:css4-color [2012/06/14 18:04] – [Theoretical Extension Requests] Add reference to CNS (color naming system). tabatkinsspec:css4-color [2012/06/25 11:32] – [Current Issues] Tantek
Line 14: Line 14:
 As these are most likely to be practical and minimal (and supported by a second implementation), these are the first features we'll consider. As these are most likely to be practical and minimal (and supported by a second implementation), these are the first features we'll consider.
  
-  * ...+  * 4 and 8-digit hex colors, so you can specify alpha with the hex representation It's non-trivial to translate hexadecimal to decimal for reformatting the color as rgba().
  
 ==== real world author extension needs ==== ==== real world author extension needs ====
Line 21: Line 21:
   * the opacity argument from rgba() and hsla() should accept a percentage as well, with the obvious meaning.  It's confusing to be restricted to a number in [0,1], since that's effectively a percentage, especially since rgba() allows rgb to be specified in percentages, and hsl() *requires* them for s and l.   * the opacity argument from rgba() and hsla() should accept a percentage as well, with the obvious meaning.  It's confusing to be restricted to a number in [0,1], since that's effectively a percentage, especially since rgba() allows rgb to be specified in percentages, and hsl() *requires* them for s and l.
   * The rgb components of rgb/a() should accept <number> rather than <integer>, rounding to the nearest value the impl supports.  It's pretty common to get confusing errors when working with colors in <canvas> because you forgot to round the components to the nearest integer, thus producing an invalid color.   * The rgb components of rgb/a() should accept <number> rather than <integer>, rounding to the nearest value the impl supports.  It's pretty common to get confusing errors when working with colors in <canvas> because you forgot to round the components to the nearest integer, thus producing an invalid color.
-  * 4 and 8-digit hex colors, so you can specify alpha with the hex representation.  It's non-trivial to translate hexadecimal to decimal for reformatting the color as rgba().+
 ==== theoretical extension requests ==== ==== theoretical extension requests ====
 Third, there are hypothetical requests for extensions to CSS3-Color features. As these are not real world proven (only theoretical) demands, they are purely tertiary. We may consider them optimistically and include them in working drafts to solicit feedback and additional interest. Third, there are hypothetical requests for extensions to CSS3-Color features. As these are not real world proven (only theoretical) demands, they are purely tertiary. We may consider them optimistically and include them in working drafts to solicit feedback and additional interest.
  
   * ...   * ...
- 
 ===== new css4-color features ===== ===== new css4-color features =====
 Brand new features for CSS4-Color. We'll follow the same prioritization as above. Brand new features for CSS4-Color. We'll follow the same prioritization as above.
Line 54: Line 53:
 There is no editor's draft of CSS4-Color yet - so there's nothing to have issues against! There is no editor's draft of CSS4-Color yet - so there's nothing to have issues against!
  
-The editor's draft will eventually be here: +The editor's draft will eventually be on dvcs.w3.org
-  * http://dev.w3.org/csswg/css4-color/ (no, seriously, need to update for hg)+
 
spec/css4-color.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki