- From: <bugzilla@jessica.w3.org>
- Date: Thu, 30 Jan 2014 15:33:18 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24449 Bug ID: 24449 Summary: Define when a StyleSheet is added to a StyleSheetList collection Product: CSS Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: CSSOM Assignee: simonp@opera.com Reporter: miketaylr@gmail.com QA Contact: public-css-bugzilla@w3.org Hi there, [1] details a site compatibility issue reported by a Firefox for Android user. The main issue is that a site is relying on the presence of a style sheet in the style sheet collection to indicate that the stylesheet has been fully loaded (see [2]). I wrote a simple test [3], and it seems that Firefox, Internet Explorer and Presto Opera all add the style sheet immediately to the document.styleSheets collection while Safari and Chrome (presumably others with WebKit heritage) wait for the load event (or thereabouts). >From my reading of [4], I would suspect that the non-WebKit behavior is correct, but perhaps there should be some language in the spec to clarify if a stylesheet should be added before or after it's loaded/parsed. [1] <https://bugzilla.mozilla.org/show_bug.cgi?id=958415> [2] <https://github.com/ameba-proteus/chikuwa.js/blob/master/chikuwa.js#L1067-L1068> [3] <http://dhtml5.com/tmp/stylesheets-length.html> [4] <http://dev.w3.org/csswg/cssom/#css-style-sheet-collections> -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 30 January 2014 15:33:20 UTC