mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
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.
7 lines
158 B
XML
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>
|