mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibWeb/Layout: Add support for grid-auto-flow
in GFC
This commit is contained in:
parent
703c2bb06e
commit
37f5253ec9
3 changed files with 38 additions and 3 deletions
21
Tests/LibWeb/Layout/expected/grid/auto-flow-column.txt
Normal file
21
Tests/LibWeb/Layout/expected/grid/auto-flow-column.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x37.46875 [BFC] children: not-inline
|
||||
Box <body> at (10,10) content-size 200x19.46875 [GFC] children: not-inline
|
||||
BlockContainer <div> at (11,11) content-size 98x17.46875 [BFC] children: inline
|
||||
line 0 width: 36.84375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 5, rect: [11,11 36.84375x17.46875]
|
||||
"hello"
|
||||
TextNode <#text>
|
||||
BlockContainer <div> at (111,11) content-size 98x17.46875 [BFC] children: inline
|
||||
line 0 width: 55.359375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 7, rect: [111,11 55.359375x17.46875]
|
||||
"friends"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x39.46875]
|
||||
PaintableBox (Box<BODY>) [9,9 202x21.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>) [10,10 100x19.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>) [110,10 100x19.46875]
|
||||
TextPaintable (TextNode<#text>)
|
Loading…
Add table
Add a link
Reference in a new issue