This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23621 - Don't defer alternate stylesheets
Summary: Don't defer alternate stylesheets
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard: CSSOM
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 09:48 UTC by Simon Pieters
Modified: 2013-10-28 21:45 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Pieters 2013-10-24 09:48:30 UTC
http://html5.org/tools/web-apps-tracker?from=8239&to=8240#diff

[[
+  <p>If the resource is <span data-x="the link is an alternative stylesheet">an alternative
+  stylesheet</span> then the user agent may defer obtaining the resource until it is part of the
+  <span>preferred style sheet set</span>. <a href="#refsCSSOM">[CSSOM]</a></p> <!-- what about DOM
+  access of alt style sheets? -->
]]

I think this part is wrong, alternate stylesheets can't be deferred. (CSSOM is also wrong on that part, currently.)
Comment 1 Ian 'Hixie' Hickson 2013-10-25 23:36:13 UTC
Yeah, hence the comment. (This is old text I haven't looked at in a while.)

So we're sure that we can't defer alt style sheets for Web compat?
Comment 2 Simon Pieters 2013-10-28 08:22:13 UTC
Deferring would make the API basically not work, and it seems people are more interested in keeping the API working than exposing alternate stylesheets in the UI. The Web compat situation isn't super clear but there was basically no interest in killing alternative stylesheets.
Comment 3 Ian 'Hixie' Hickson 2013-10-28 21:44:02 UTC
Roger. I've removed that paragraph for now.
Comment 4 contributor 2013-10-28 21:45:37 UTC
Checked in as WHATWG revision r8244.
Check-in comment: Browsers can't delay alt style sheets and remain Web compatible, apparently.
http://html5.org/tools/web-apps-tracker?from=8243&to=8244