mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Previously, referencing an element that eventually pointed back to the original <use> element would cause a stack overflow. We now look at the referenced element and follow every <use> element in its subtree and aim to detect any duplicates. If so, we consider that referenced element invalid.
5 lines
82 B
HTML
5 lines
82 B
HTML
<svg id="svg">
|
|
<use xlink:href="#svg" />
|
|
<use xlink:href="#svg" />
|
|
</svg>
|