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 29078 - Link stylesheet's "appropriate times to obtain resource" doesn't cover all cases
Summary: Link stylesheet's "appropriate times to obtain resource" doesn't cover all cases
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 09:55 UTC by Yoav Weiss
Modified: 2016-02-15 12:08 UTC (History)
2 users (show)

See Also:


Attachments

Description Yoav Weiss 2015-08-24 09:55:43 UTC
Looking at link-stylesheet[1], I believe that the "appropriate times to obtain a resource" algorithm is not covering all cases.

* "When the external resource link is created on a link element that is already in a Document." does not include a conditional that would prevent obtaining the resource if `type` is not supported.
* Same for "When the external resource link's link element is inserted into a document."
* As for "When the type attribute of the link element of an external resource link that is already in a Document but was previously not obtained due to the type attribute specifying an unsupported type is set, removed, or changed." I believe that "set" is not possible (since if type wasn't set, the resource would have been obtained), and that "changed" should also include a condition such as "changed to a supported type".

[1] https://html.spec.whatwg.org/multipage/semantics.html#link-type-stylesheet
Comment 1 Michael[tm] Smith 2016-02-15 12:04:43 UTC
Moved to https://github.com/whatwg/dom/issues/167
Comment 2 Michael[tm] Smith 2016-02-15 12:08:54 UTC
Moved to https://github.com/whatwg/html/issues/694