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

LibWeb: Adjust 4 abspos tests to highlight errors

The tests still pass, but opening the files in Ladybird and Safari or
Firefox shows clearly where the layouting in Ladybird is incorrect
for some absolute positioned elements. The previous 1px border was
subtly hiding some issues.
This commit is contained in:
Sebastian Zaha 2023-07-07 16:29:40 +02:00 committed by Andreas Kling
parent d77986f01c
commit 6a66a05809
7 changed files with 171 additions and 170 deletions

View file

@ -1,7 +1,8 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x20 [BFC] children: not-inline
BlockContainer <body> at (10,10) content-size 780x2 children: not-inline
Box <div.pink> at (11,11) content-size 778x0 flex-container(row) [FFC] children: not-inline
BlockContainer <html> at (10,10) content-size 780x56 [BFC] children: not-inline
BlockContainer <body> at (28,28) content-size 744x20 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 (11,-39) content-size 100x100 positioned [BFC] children: not-inline
BlockContainer <div.orange> at (38,-12) content-size 100x100 positioned [BFC] children: inline
TextNode <#text>