ladybird/Tests/LibWeb/Ref/reference/svg-use-defined-earlier.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

11 lines
261 B
HTML

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