Open
Bug 2004751
Opened 5 months ago
Updated 10 days ago
Support "style", "json", and "text" 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.
Updated•10 days ago
|
Summary: Support "style" and "json" in as attribute for modulepreload destination → Support "style", "json", and "text" in as attribute for modulepreload destination
You need to log in
before you can comment on or make changes to this bug.
Description
•