Skip to content

Add support for rel=stylesheet in Link headers #8741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
domenic opened this issue Jan 18, 2023 · 0 comments
Open

Add support for rel=stylesheet in Link headers #8741

domenic opened this issue Jan 18, 2023 · 0 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: link topic: style

Comments

@domenic
Copy link
Member

domenic commented Jan 18, 2023

Firefox supports this, no other browser does. Chromium is currently not interested. This is largely a tracking issue to see if any second-implementer interest materializes.

The spec currently does not: https://html.spec.whatwg.org/#link-type-stylesheet says

The process a link header steps for this type of linked resource are to do nothing.

If we were to work on this we'd need to figure out the various complications mentioned in #4224 (comment).

@domenic domenic added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: link topic: style labels Jan 18, 2023
domenic added a commit that referenced this issue Jan 18, 2023
Closes #4224. That issue was about the general lack of specification for the Link header, which has been resolved. #8741 tracks potentially adding Link header support for rel=stylesheet, but there's no need to retain notices in the spec about the possibility of this nonstandard feature. (The note was also quite incomplete, as it didn't talk about things like the cascade, document.styleSheets, etc.)
domenic added a commit that referenced this issue Jan 19, 2023
This adds "has `Link` processing" to the link types table, which currently only has "Yes" values for preload and preconnect.

Closes #4224, and removes the reference to it in the spec. That issue was about the general lack of specification for the Link header, which has been resolved. #8741 tracks potentially adding Link header support for rel=stylesheet, but there's no need to retain notices in the spec about the possibility of this nonstandard feature. (The note was also quite incomplete, as it didn't talk about things like the cascade, document.styleSheets, etc.)
pmeenan pushed a commit to pmeenan/html that referenced this issue Jan 25, 2023
This adds "has `Link` processing" to the link types table, which currently only has "Yes" values for preload and preconnect.

Closes whatwg#4224, and removes the reference to it in the spec. That issue was about the general lack of specification for the Link header, which has been resolved. whatwg#8741 tracks potentially adding Link header support for rel=stylesheet, but there's no need to retain notices in the spec about the possibility of this nonstandard feature. (The note was also quite incomplete, as it didn't talk about things like the cascade, document.styleSheets, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: link topic: style
Development

No branches or pull requests

1 participant