LibWeb: Print FIXME instead of crashing in abspos SVG element layout

Currently we are crashing in `verify_cast<BlockContainer>(box)` on
attempt to create BFC for SVG box.
This commit is contained in:
Aliaksandr Kalenik 2024-09-18 14:57:32 +02:00 committed by Alexander Kalenik
commit fa907029ee
Notes: github-actions[bot] 2024-09-18 13:56:19 +00:00
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x216 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
BlockContainer <div> at (8,8) content-size 784x200 positioned children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 200x200] baseline: 200
SVGSVGBox <svg> at (8,8) content-size 200x200 [SVG] children: not-inline
SVGGeometryBox <polygon> at (48,18) content-size 120x170 positioned [BFC] children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x216]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
PaintableWithLines (BlockContainer<DIV>) [8,8 784x200]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 200x200]
SVGPathPaintable (SVGGeometryBox<polygon>) [48,18 120x170]