Add test for processing of type attribute with <link rel=compression-dictionary> - #61211
Merged
Merged
Conversation
6 tasks done
pmeenan
requested changes
Jul 15, 2026
…-dictionary"> rel=compression-dictionary does not have a default type, so it should always fetch the link when the type is omitted. When the type is specified the same is true if "UA does support the given MIME type for the given link relationship" and "even if that is not a valid MIME type string". Details don't seem to be specified but this test assumes UAs support any type for rel=compression-dictionary, which is what Chromium, Firefox and WebKit do. http://github.com/whatwg/html/pull/11620 https://html.spec.whatwg.org/#processing-the-type-attribute
fred-wang
force-pushed
the
fetch-compression-dictionary-type-attribute
branch
from
July 16, 2026 12:00
6f4aaea to
48b6b8f
Compare
Collaborator
|
There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you! |
Contributor
Author
|
Mmh, for some reason the 2 commits were not squashed before merging, sorry about that. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rel=compression-dictionary does not have a default type, so it should always fetch the link when the type is omitted. When the type is specified the same is true if "UA does support the given MIME type for the given link relationship" and "even if that is not a valid MIME type string". Details don't seem to be specified but this test assumes UAs support any type for rel=compression-dictionary, which is what Chromium, Firefox and WebKit do.
http://github.com/whatwg/html/pull/11620
https://html.spec.whatwg.org/#processing-the-type-attribute