Updates to modulepreload and preload to incorporate WHATWG changes for "style" and "json"#42333
Conversation
|
Preview URLs (2 pages)
(comment last updated: 2026-03-04 08:27:33) |
chrisdavidmills
left a comment
There was a problem hiding this comment.
@KurtCattiSchmidt Hi there, and thanks for the update. The changes seem reasonable as per the suggested spec change; I've given you a couple of minor suggestions to consider.
One thing though — it would make sense to hold off on this MDN change at least until the spec change is merged, so that MDN is consistent with the spec.
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
|
Also |
Thanks for the heads-up @mathewhodson! I have a PR up for this: mdn/browser-compat-data#29048 Once that lands, I can add the support table to this PR. |
|
@mathewhodson - compat changes landed, so this is already up-to-date! Thanks for the reminder there @chrisdavidmills - the spec change landed in the HTML5 spec in January, so this is good to land (see whatwg/html#11981) |
chrisdavidmills
left a comment
There was a problem hiding this comment.
Yup, all good to go. Thanks a lot for your work on this, @KurtCattiSchmidt!
…s for "style" and "json" (mdn#42333) * Adding changes to link tag page * Update files/en-us/web/html/reference/elements/link/index.md Co-authored-by: Chris Mills <chrisdavidmills@gmail.com> * Update files/en-us/web/html/reference/elements/link/index.md Co-authored-by: Chris Mills <chrisdavidmills@gmail.com> * Adding script to modulepreload as= section * Removing extra and --------- Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
Description
Updates docs for
preloadandmodulepreloadper WHATWG changes in whatwg/html#11981Motivation
This change aligns behavior with the current specs.
Additional details
Do not land until the WHATWG PR lands.
Related issues and pull requests