mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00
LibWeb: Implement more of "Expand Flexible Tracks" in GFC
Implements "Otherwise, if the free space is an indefinite length:" from the spec.
This commit is contained in:
parent
2e13f65ff4
commit
a3759b6e76
5 changed files with 75 additions and 19 deletions
11
Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt
Normal file
11
Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x34.9375 children: not-inline
|
||||
Box <div.container> at (8,8) content-size 784x34.9375 [GFC] children: not-inline
|
||||
BlockContainer <div.item> at (8,8) content-size 784x17.46875 [BFC] children: inline
|
||||
line 0 width: 31.265625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [8,8 31.265625x17.46875]
|
||||
"Uno"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,42.9375) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
Loading…
Add table
Add a link
Reference in a new issue