Skip to content

Conversation

@KurtCattiSchmidt
Copy link

@KurtCattiSchmidt KurtCattiSchmidt commented Dec 2, 2025

Fixes #10233

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • Corresponding HTML AAM & ARIA in HTML issues & PRs:
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/acknowledgements.html ( diff )
/indices.html ( diff )
/links.html ( diff )
/semantics.html ( diff )

@KurtCattiSchmidt KurtCattiSchmidt changed the title Expanding <link type="modulepreload"> to allow "style" and "json" in as attribute Allow "style" and "json" in as attribute in modulepreload Dec 2, 2025
@KurtCattiSchmidt KurtCattiSchmidt changed the title Allow "style" and "json" in as attribute in modulepreload Allow "style" and "json" in as attribute for modulepreload Dec 2, 2025
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also disallow "json" for <link rel=preload>?

@KurtCattiSchmidt
Copy link
Author

Should we also disallow "json" for <link rel=preload>?

You're right, "json" doesn't really make sense in preload if it's supported for modulepreload. I think this should be handled separately though, because WebKit recently added support for <link rel=preload as=json>, and we can have both for some window of time.

Filed #11995 to track and discuss separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Support json/style as modulepreload destinations

2 participants