1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:07:46 +00:00

Tests/LibWeb: Split grid/positions-and-spans.html into smaller tests

This giant grid test has been a source of problems while iterating on
GFC for a long time. Let's split it into smaller tests to make it
easier to identify issues without needing further reductions on the
test.
This commit is contained in:
Aliaksandr Kalenik 2023-08-24 18:14:36 +02:00 committed by Andreas Kling
parent 29b2022303
commit 6267037a74
10 changed files with 163 additions and 173 deletions

View file

@ -0,0 +1,23 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (1,1) content-size 798x600 [BFC] children: not-inline
BlockContainer <body> at (10,10) content-size 780x40.9375 children: not-inline
Box <div.grid-container> at (11,11) content-size 778x38.9375 [GFC] children: not-inline
BlockContainer <div.a> at (12,12) content-size 776x17.46875 [BFC] children: inline
line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x17.46875]
"1"
TextNode <#text>
BlockContainer <div> at (12,31.46875) content-size 387x17.46875 [BFC] children: inline
line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 1, rect: [12,31.46875 8.8125x17.46875]
"2"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x602]
PaintableWithLines (BlockContainer<BODY>) [9,9 782x42.9375]
PaintableBox (Box<DIV>.grid-container) [10,10 780x40.9375]
PaintableWithLines (BlockContainer<DIV>.a) [11,11 778x19.46875]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>) [11,30.46875 389x19.46875]
TextPaintable (TextNode<#text>)