mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
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.
10 lines
206 B
HTML
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>
|