- From: Antony Kennedy <antony@silversquid.com>
- Date: Sat, 12 Feb 2011 18:08:36 +0000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: www-style@w3.org
On 12 Feb 2011, at 17:38, Boris Zbarsky wrote:
> On 2/12/11 12:04 PM, Antony Kennedy wrote:
>> You can then enable it whenever you like, and it will be immediately applied, like so:
>>
>> document.getElementById('ss1').disabled=false;
>
> "immediately", or "once it loads"?
Once it loads, sorry.
>> It does not appear in document.styleSheets. If it is enabled, and you disable via JS, it then disappears from the array.
>
> For what it's worth, Gecko maps the .disabled on the <link> to the corresponding property on the stylesheet, which seems to be the intent of the (pretty vague) definition of DOM 2 HTML.
>
> -Boris
>
Received on Saturday, 12 February 2011 18:09:13 UTC