[Webkit-unassigned] [Bug 39140] Add support for 4 and 8 hexit CSS hexcolor values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 20 18:30:01 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39140


Boris Zbarsky <bzbarsky at mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky at mit.edu




--- Comment #13 from Boris Zbarsky <bzbarsky at mit.edu>  2010-05-20 18:29:59 PST ---
> Testing shows that current Opera, Firefox, and Webkit all ignore 4 and 8
> hexit colors.

Tab, I don't think that's true.  Simple testcase:

  data:text/html,<font color="%23000000ff">This is blue</font>

The text is interoperably blue in Webkit and Gecko (with and without the '#') and black in Opera.  With your patch it would render black, right?

The key here, at least in Gecko, is quirks mode.  Webkit seems to do the same thing (blue) in both modes.

Another testcase:

  data:text/html,<font color="0000">This is black</font>

The text is solid black in Webkit/Gecko/Opera; in Webkit and Opera this would even happen in standards mode.  With your patch it would be transparent, right?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list