mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
Since SVG gradients can reference each other, we have to keep track of visited gradients when traversing the link chain, or we will recurse infinitely when there's a reference cycle.
13 lines
322 B
HTML
13 lines
322 B
HTML
<!doctype html>
|
|
<script src="../include.js"></script>
|
|
<svg>
|
|
<linearGradient id="lol" href="#lmao"/>
|
|
<linearGradient id="lmao" href="#even"/>
|
|
<linearGradient id="even" href="#lol"/>
|
|
<rect fill="url(#lol)" />
|
|
</svg>
|
|
<script>
|
|
test(() => {
|
|
println("PASS (didn't hang or crash)");
|
|
});
|
|
</script>
|