mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:07:35 +00:00
LibWeb: Fix absolute positioning issues
Make sure the insets and margins calculated according to the spec are not later ignored and ad-hoc recomputed in layout_absolutely_positioned_element. Use the static position calculation in a couple of places where the spec (and comment) was indicating it should be used. Fixes #19362
This commit is contained in:
parent
61fe7c230f
commit
fd37ad3a84
8 changed files with 134 additions and 134 deletions
|
@ -4,5 +4,5 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <div.pink> at (38,38) content-size 724x0 flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.orange> at (38,-12) content-size 100x100 positioned [BFC] children: inline
|
||||
BlockContainer <div.orange> at (48,-12) content-size 100x100 positioned [BFC] children: inline
|
||||
TextNode <#text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue