[whatwg] Color attributes

Simon Pieters zcorpan at gmail.com
Fri Aug 24 10:05:06 PDT 2007


On Thu, 23 Aug 2007 19:18:41 +0200, Simon Pieters <zcorpan at gmail.com>  
wrote:

>>> For reference, the complete algorithm would be:

Hmm, there needs to be a step before the first one, actually:

    1. If the value is the empty string, act as if the attribute was
       absent and abort these steps.

>>> [...]
>
> Test cases for the algorithm:
>
>     http://simon.html5.org/test/html/parsing/color-attributes/the-algorithm/

Do we want to do this for quirks mode only? IE7 does it for standards mode  
as well, but Opera, Firefox and Safari have different (stricter)  
processing rules for standards mode.

-- 
Simon Pieters



More information about the whatwg mailing list