mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:27:45 +00:00
LibWeb: Align with spec "stretch auto tracks" step in GFC
Now, we will evenly distribute the remaining free space across tracks using the auto max-tracks sizing function, exactly as the specification states. Many tests are affected, but they are not visually broken. Fixes https://github.com/SerenityOS/serenity/issues/22798
This commit is contained in:
parent
dd9f3c980f
commit
9e23503c9c
21 changed files with 233 additions and 207 deletions
|
@ -4,26 +4,26 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <div.grid-container> at (8,8) content-size 784x200 [GFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.grid-item> at (8,8) content-size 392x100 [BFC] children: inline
|
||||
BlockContainer <div.grid-item> at (8,8) content-size 392.140625x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x17] baseline: 13.296875
|
||||
"1"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.grid-item> at (400,8) content-size 392x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [400,8 8.8125x17] baseline: 13.296875
|
||||
BlockContainer <div.grid-item> at (400.140625,8) content-size 391.859375x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,8 8.8125x17] baseline: 13.296875
|
||||
"2"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.grid-item> at (8,108) content-size 392x100 [BFC] children: inline
|
||||
BlockContainer <div.grid-item> at (8,108) content-size 392.140625x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.09375x17] baseline: 13.296875
|
||||
"3"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.grid-item> at (400,108) content-size 392x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [400,108 7.75x17] baseline: 13.296875
|
||||
BlockContainer <div.grid-item> at (400.140625,108) content-size 391.859375x100 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,108 7.75x17] baseline: 13.296875
|
||||
"4"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
|
@ -35,12 +35,12 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
|
||||
PaintableBox (Box<DIV>.grid-container) [8,8 784x200]
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,8 392x100]
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,8 392.140625x100]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [400,8 392x100]
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [400.140625,8 391.859375x100]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,108 392x100]
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [8,108 392.140625x100]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [400,108 392x100]
|
||||
PaintableWithLines (BlockContainer<DIV>.grid-item) [400.140625,108 391.859375x100]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue