mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Assign static position for abspos boxes nested into TFC
TFC is not aware of how to correctly calculate a static position for abspos boxes, but assigning (0, 0) is better than crashing during abspos item layout. Fixes https://github.com/LadybirdBrowser/ladybird/issues/1382
This commit is contained in:
parent
d17f94e7cc
commit
9621439db0
Notes:
github-actions[bot]
2024-09-14 13:04:58 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 9621439db0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1396
5 changed files with 70 additions and 1 deletions
|
@ -0,0 +1,18 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x20 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x4 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 784x4 [BFC] children: not-inline
|
||||
Box <table> at (8,8) content-size 784x4 table-box [TFC] children: not-inline
|
||||
Box <thead> at (8,8) content-size 0x0 table-header-group children: not-inline
|
||||
Box <tr> at (10,10) content-size 0x0 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,590) content-size 800x10 positioned [BFC] children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x20] overflow: [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x4] overflow: [0,8 800x592]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 784x4] overflow: [0,8 800x592]
|
||||
PaintableBox (Box<TABLE>) [8,8 784x4] overflow: [0,8 800x592]
|
||||
PaintableBox (Box<THEAD>) [8,8 0x0] overflow: [0,10 800x590]
|
||||
PaintableBox (Box<TR>) [10,10 0x0] overflow: [0,590 800x10]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [0,590 800x10]
|
Loading…
Add table
Add a link
Reference in a new issue