Files
ladybird/Tests/LibWeb/Crash/SVG/foreignObject-with-html-root-element.svg
Tim Ledbetter 551c7f966b LibWeb: Use correct root element when resolving paint properties
Previously, the first `HTMLHtmlELement` in the given document would
always be  used when determining whether to propagate background
properties to the body element. This meant the wrong root element was
used for SVG `foreignObject` elements, which could lead to a crash.
2025-09-10 11:35:02 +02:00

7 lines
158 B
XML

<svg xmlns="http://www.w3.org/2000/svg" >
<foreignObject>
<html xmlns="http://www.w3.org/1999/xhtml">
</html>
</foreignObject>
</svg>