[Webkit-unassigned] [Bug 39140] Add support for 4 and 8 hexit CSS hexcolor values
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 8 03:50:40 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=39140
Simon Pieters <zcorpan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zcorpan at gmail.com
--- Comment #16 from Simon Pieters <zcorpan at gmail.com> 2012-10-08 03:51:14 PST ---
(dataset: http://dotnetdotcom.org/ )
$ grep -aPic "(background|color|outline|border)\s*:\s*#([0-9a-f]{4}){1,2}($|\s|;|,|})" web200904
177
This is a relatively low number, though the search does not include cases where the color is not the first token in the value (e.g. border:1px #f000 solid), nor does it include external style sheets.
IMHO this syntax isn't clear and people get the wrong number of digits at times. It also doesn't work together with keywords. Using a separator character might be better (e.g. color: orange * 0.7).
--
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