mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-04 16:11:54 +00: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!
10 lines
329 B
HTML
10 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>
|