ladybird/Tests/LibWeb/Ref/svg-use-defined-later.html
MacDue daecf741d4 LibWeb: Ensure DocumentObserver document_completely_loaded() is called
This stopped being called for anything without a navigable container
after 76a97d8, due to the early return. This broke SVG <use> elements
that reference elements defined later in the document.
2023-12-26 21:37:04 +01:00

12 lines
324 B
HTML

<!doctype html>
<link rel="match" href="reference/svg-use-defined-earlier.html" />
<div>
<svg width="100" height="100">
<use xlink:href="#later-reference"></use>
</svg>
</div>
<svg style="display: none">
<symbol id="later-reference">
<rect x="0" y="0" width="64" height="64" fill="green" />
</symbol>
</svg>