[Bug 13977] Check browsers; it might be that links with rel=stylesheet that aren't yet loaded should still have a sheet. See also https://bugs.webkit.org/show_bug.cgi?id=65140

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13977

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-10-18 00:32:38 UTC ---
As far as I can tell:

In IE, <link> loading blocks parsing before the element is added to the DOM.

In Gecko, <link> loading blocks parsing. For rel=stylesheet, a .sheet object is
created as soon as the element is created. For other links, e.g. rel="alternate
stylesheet" or rel=nothing, .sheet is null.

In WebKit, .sheet is null until the sheet is loaded.

I couldn't work out what Opera was doing.

I think Gecko's idea makes sense and solves the problems raised around this,
but why not have a sheet for rel="alternate stylesheet"? (bz?)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 18 October 2011 00:32:40 UTC