Open
Bug 2004751
Opened 1 month ago
Updated 8 days ago
Support "style" and "json" in as attribute for modulepreload destination
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
UNCONFIRMED
People
(Reporter: kschmi, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Steps to reproduce:
Support "style" and "json" in as attribute for modulepreload destination
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.
Actual results:
"style" and "json" are not preloaded
Expected results:
"style" and "json" are preloaded
This is related to <link rel="modulepreloada">, and should be in DOM part.
Also see Bug 1933242 for the preloading json part.
You need to log in
before you can comment on or make changes to this bug.
Description
•