W3C home > Mailing lists > Public > www-style@w3.org > February 2012

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Thu, 16 Feb 2012 00:56:20 -0500
Message-ID: <2e9112f9134f819f4c5d2d2613e9f112.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>
Cc: "www-style list" <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT