ladybird/Tests/LibWeb/Text/input/unclosed-html-element.html
Timothy Flynn 657bbd1542 LibWeb: Append attributes to the correct element
The spec indicates we should append attributes to the top element of the
stack of open elements. We were appending the attribute to the bottom.
2024-07-30 09:41:35 +02:00

10 lines
206 B
HTML

<link>
<html
<head>
<script src="include.js"></script>
<script>
test(() => {
println(`HTML element has '<head' attribute: ${document.documentElement.hasAttribute('<head')}`);
});
</script>