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

Re: Browsers downloaded linked files regardless of media type

From: Antony Kennedy <antony@silversquid.com>
Date: Sat, 12 Feb 2011 18:08:36 +0000
Cc: www-style@w3.org
Message-Id: <C2A6B718-F738-4887-B5EB-1E067CF3EFBA@silversquid.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

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 GMT

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