W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2011

Re: Some table-anonymous-objects tests rely on setting disabled property of style element

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 8 Jan 2011 21:21:50 -0800
To: Simon Fraser <smfr@me.com>
Cc: "public-css-testsuite@w3.org mailing list" <public-css-testsuite@w3.org>
Message-ID: <20110109052150.GA843@pickering.dbaron.org>
On Saturday 2011-01-08 20:46 -0800, Simon Fraser wrote:
> The following tests:
> 
> table-anonymous-objects-015
> table-anonymous-objects-016
> table-anonymous-objects-019
> table-anonymous-objects-020
> 
> rely on setting the disabled property of a style element:
> 
>     <style id="s" type="text/css">
>       span { display: block ! important }
>     </style>
>     <script type="text/javascript">
>       function doTest() {
>         var s = document.getElementById("s");
>         s.disabled = true;
> 
> I find no mention of the disabled property in either HTML4 or CSS 2.1
> (the only reference I can find is <http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-styleSheet.html#sec_25.1.>).

It's been in the DOM since DOM Level 1:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html.html#ID-16428977
http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-16428977

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 9 January 2011 05:22:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 9 January 2011 05:22:28 GMT