Re: [css21-selectors] Interpretation of attribute selector

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.

</Daniel>

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