WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
303761
Support "style" and "json" in as attribute for modulepreload destination
https://bugs.webkit.org/show_bug.cgi?id=303761
Summary
Support "style" and "json" in as attribute for modulepreload destination
kschmi
Reported
2025-12-08 09:34:29 PST
Currently only "script" is supported, but per
https://github.com/whatwg/html/issues/10233
, "style" and "json" should also be supported. Tests will be added under wpt/html/semantics/scripting-1/the-script-element/module.
Attachments
Add attachment
proposed patch, testcase, etc.
kschmi
Comment 1
2025-12-08 09:43:23 PST
Per the conversation in the HTML5 PR (
https://github.com/whatwg/html/pull/11981#pullrequestreview-3533542077
), this will also cover deprecating support for `<link type="preload" as="json">`, as "modulepreload" is the preferred destination. Support for `<link type="preload" as="json">` was recently added in WebKit.
Radar WebKit Bug Importer
Comment 2
2025-12-15 09:35:11 PST
<
rdar://problem/166547259
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug