(body)
| 1688 | 'IN_PLACE: literal-text element from an XHTML document loses markup text like in HTML mode', |
| 1689 | (assert) => { |
| 1690 | const parse = (body) => |
| 1691 | new window.DOMParser().parseFromString( |
| 1692 | '<div xmlns="http://www.w3.org/1999/xhtml">' + body + '</div>', |
| 1693 | 'application/xhtml+xml' |
| 1694 | ).documentElement; |
| 1695 | |
| 1696 | const noembedRoot = parse( |
| 1697 | '<noembed></style><img src="x" onerror="alert(1)"/></noembed>' |