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: Simon Fraser <smfr@me.com>
Date: Sat, 08 Jan 2011 21:24:36 -0800
Cc: "public-css-testsuite@w3.org mailing list" <public-css-testsuite@w3.org>
Message-id: <4AF2149E-25C6-43B0-800E-436B032326A9@me.com>
To: "L. David Baron" <dbaron@dbaron.org>
On Jan 8, 2011, at 9:21 pm, L. David Baron wrote:

> 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

Thanks for the clarification!

Simon
Received on Sunday, 9 January 2011 05:25:37 GMT

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