W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[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

From: <bugzilla@jessica.w3.org>
Date: Tue, 18 Oct 2011 00:32:38 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RFxbi-00039a-TC@jessica.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC