mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 18:47:15 +02:00
This is sub-optimal but let's rebuild the whole tree for now, since this case gets quite complicated and there are more valuable things to chase after first. Thanks to Gingeh for the reduced test case!
11 lines
329 B
HTML
11 lines
329 B
HTML
<script src="../include.js"></script>
|
|
<svg><symbol id="foo"></symbol><use href="#foo"></use></svg>
|
|
<script>
|
|
test(() => {
|
|
document.body.offsetWidth; // force layout
|
|
foo.setAttribute("id", "bar");
|
|
document.body.offsetWidth; // force layout
|
|
println("PASS (didn't fall apart)");
|
|
});
|
|
</script>
|