- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sat, 12 Feb 2011 12:38:05 -0500
- To: Antony Kennedy <antony@silversquid.com>
- CC: www-style@w3.org
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"? > 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 17:38:47 UTC