LibWeb: Make SVG foreignObject establish a new stacking context

This matches the behavior of Blink and Gecko, but not WebKit.
This commit is contained in:
Andreas Kling 2025-07-06 15:00:51 +02:00 committed by Andreas Kling
commit 0cf9a4543a
Notes: github-actions[bot] 2025-07-09 12:38:21 +00:00
4 changed files with 12 additions and 1 deletions

View file

@ -107,6 +107,7 @@ public:
virtual bool is_svg_mask_box() const { return false; }
virtual bool is_svg_svg_box() const { return false; }
virtual bool is_svg_graphics_box() const { return false; }
virtual bool is_svg_foreign_object_box() const { return false; }
virtual bool is_label() const { return false; }
virtual bool is_replaced_box() const { return false; }
virtual bool is_list_item_box() const { return false; }