[whatwg] CSS2 system colors in legacy color values

Ian Hickson ian at hixie.ch
Tue Aug 3 18:33:30 PDT 2010


On Tue, 3 Aug 2010, Darin Adler wrote:
> On Aug 3, 2010, at 5:55 PM, Ian Hickson wrote:
> 
> > WebKit on Mac responds to changes to the color "Highlight" by changing 
> > the colour to the default blue the next time it resolves style (as far 
> > as I can tell). Not exactly a success story. (Highlight is the only 
> > colour over which the user seems to have control on Mac.)
> 
> I just tested this and it works perfectly. When I change the Highlight 
> color using the Appearance pane of the Mac OS X System Preferences the 
> color of highlighted text in Safari is immediately the right color as 
> soon as I switch back to Safari.
> 
> Your comment, “[WebKit changes] the colour to the default blue the next 
> time it resolves style” makes it sound like the code doesn’t work, but 
> it works well and it is a success story!

We're talking about <body bgcolor=Highlight> here, not about the colour of 
selected text.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list