W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: Browsers downloaded linked files regardless of media type

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 12 Feb 2011 12:38:05 -0500
Message-ID: <4D56C57D.40403@mit.edu>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT