mirror of
https://github.com/swc-project/swc.git
synced 2024-11-27 13:38:33 +03:00
5419a9477f
**Description:** For example, transforming `<body><noscript>` to `<noscript>` would incorrectly change the meaning so `<noscript>` is parsed as a child of `<head>`. Reference: [§13.2.6.4.4 The "in head" insertion mode](https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead), [13.2.6.4.6 The "after head" insertion mode](https://html.spec.whatwg.org/multipage/parsing.html#the-after-head-insertion-mode). **Related issue:** - Closes #8876. Signed-off-by: Anders Kaseorg <andersk@mit.edu> |
||
---|---|---|
.. | ||
document_fragment | ||
fixture | ||
recovery | ||
fixture.rs |