- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 16 Feb 2010 12:06:39 -0500
- To: Anne van Kesteren <annevk@opera.com>
- CC: CSS WG <www-style@w3.org>
On 2/16/10 11:59 AM, Anne van Kesteren wrote: > On Tue, 16 Feb 2010 17:51:55 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote: >> So it sounds like you really want access to the "used color", right? I >> have no problem with whatever canonicalization we want for used >> colors, or even computed ones. I'm just not convinced that _specified_ >> colors should be canonicalized. That would lead to all sorts of >> weirdness like .style.color not matching the string that appears in >> getAttribute("style"), for example. > > Firefox is broken in that respect already and no other browser keeps > those consistent either. In a completely static document, yes. If you set .style.color from script, then every UA I'm aware of has the style attribute value matching the .style.color getter-provided value thereafter. -Boris
Received on Tuesday, 16 February 2010 17:07:15 UTC