Re: [cssom] Supporting JS properties whose names are CSS property names on CSSDeclaration objects

Le Mer 15 février 2012 15:10, Boris Zbarsky a écrit :

> Worse yet,
> something like this:
>
>    document.getElementById("something").style.float = "right"
>
> works in Trident and WebKit but not in Presto and Gecko.


Trident (IE8, IE9 and - apparently - latest IE10PP4) and Presto (latest
Opera 11.61) support

document.getElementById("something").style.styleFloat = "right"

both to set and to get styleFloat from the style object.

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Thursday, 16 February 2012 05:56:52 UTC