Bug 303761
| Summary: | Support "style" and "json" in as attribute for modulepreload destination | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | kschmi |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | annevk, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
kschmi
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
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
<rdar://problem/166547259>