mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:27:44 +00:00
LibWeb: Implement more of "Resolve Intrinsic Track Sizes" in GFC
Implements some parts of "Resolve Intrinsic Track Sizes" algorithm from spec to make it more spec compliant.
This commit is contained in:
parent
1ada6a43e2
commit
14cb0067bb
3 changed files with 104 additions and 48 deletions
14
Tests/LibWeb/Layout/expected/grid/basic-2.txt
Normal file
14
Tests/LibWeb/Layout/expected/grid/basic-2.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
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 784x17.46875 children: not-inline
|
||||
Box <div#grid> at (8,8) content-size 784x17.46875 [GFC] children: not-inline
|
||||
BlockContainer <div#title> at (8,8) content-size 88.171875x17.46875 [BFC] children: inline
|
||||
line 0 width: 88.171875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 10, rect: [8,8 88.171875x17.46875]
|
||||
"Game Title"
|
||||
TextNode <#text>
|
||||
BlockContainer <div#board> at (96.171875,8) content-size 695.828125x17.46875 [BFC] children: inline
|
||||
line 0 width: 45.734375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 5, rect: [96.171875,8 45.734375x17.46875]
|
||||
"Board"
|
||||
TextNode <#text>
|
Loading…
Add table
Add a link
Reference in a new issue