mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
**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 <[email protected]>
9 lines
177 B
HTML
9 lines
177 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Test</title>
|
|
</head>
|
|
<body><noscript>This app requires JavaScript.</noscript>
|
|
|
|
</body></html> |