W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [css21-selectors] Interpretation of attribute selector

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 28 May 2010 17:03:00 +0200
Message-ID: <4BFFDB24.2010509@disruptive-innovations.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "Belov, Charles" <Charles.Belov@sfmta.com>, www-style list <www-style@w3.org>
Le 28/05/10 05:42, Boris Zbarsky a écrit :

> Now the issue you're running into is that the value of the style
> attribute is normalized in Gecko, so that the value you put in your
> source (or pass to setAttribute) and the value returned by getAttribute
> aren't necessarily equal. This is generally considered a bug (albeit a
> low-priority one, since it's pretty rare for anyone to actually work
> with the string form of the style attribute and since the string form
> becomes completely meaningless if you touch .style.something).

Pretty rare unless your app is an editor... :-(

This and the fact the CSS parser in Gecko don't preserve somewhere
the unrecognized style rules and declarations is a major burden on
my shoulders for BlueGriffon.

Received on Friday, 28 May 2010 15:03:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:35 UTC