Re: Browsers downloaded linked files regardless of media type

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