mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
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:
parent
e3e0041c7f
commit
fa907029ee
Notes:
github-actions[bot]
2024-09-18 13:56:19 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: fa907029ee
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1428
3 changed files with 20 additions and 0 deletions
1
Tests/LibWeb/Layout/input/svg/abspos-svg-polygon.html
Normal file
1
Tests/LibWeb/Layout/input/svg/abspos-svg-polygon.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><div style="position: relative"><svg width="200" height="200"><polygon points="100,10 40,180 160,180" style="position:absolute; top: 100px; left: 100px;" />
|
Loading…
Add table
Add a link
Reference in a new issue