1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

LibWeb: Do not treat size of abspos items as definite

This fixes the issue when size of abspos items is considered to be
resolvable without performing layout which is not correct in the
scenarious when top/right/bottom/left properties are not auto.
This commit is contained in:
Aliaksandr Kalenik 2023-06-22 18:02:04 +03:00 committed by Andreas Kling
parent 1c991e5582
commit 473848be0e
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x0 [BFC] children: not-inline
BlockContainer <body> at (10,10) content-size 500x100 positioned [BFC] children: not-inline
BlockContainer <div.image-container> at (261,11) content-size 248x28.4836 positioned [BFC] children: inline
line 0 width: 250, height: 28.4836, bottom: 28.4836, baseline: 28.4836
frag 0 from ImageBox start: 0, length: 0, rect: [262,12 248x26.4836]
ImageBox <img> at (262,12) content-size 248x26.4836 children: not-inline