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

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.>).

Simon

Received on Sunday, 9 January 2011 04:47:43 UTC