mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 07:47:35 +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
|
@ -2,20 +2,20 @@ 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 784x84 children: not-inline
|
||||
Box <div.grid-container> at (8,8) content-size 784x84 [GFC] children: not-inline
|
||||
BlockContainer <div.one> at (8,8) content-size 342x17 [BFC] children: inline
|
||||
BlockContainer <div.one> at (8,8) content-size 342.140625x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x17] baseline: 13.296875
|
||||
"1"
|
||||
TextNode <#text>
|
||||
BlockContainer <div.two> at (450,8) content-size 342x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [450,8 8.8125x17] baseline: 13.296875
|
||||
BlockContainer <div.two> at (450.140625,8) content-size 341.859375x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [450.140625,8 8.8125x17] baseline: 13.296875
|
||||
"2"
|
||||
TextNode <#text>
|
||||
BlockContainer <div.three> at (8,75) content-size 342x17 [BFC] children: inline
|
||||
BlockContainer <div.three> at (8,75) content-size 342.140625x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [8,75 9.09375x17] baseline: 13.296875
|
||||
"3"
|
||||
TextNode <#text>
|
||||
BlockContainer <div.four> at (450,75) content-size 342x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [450,75 7.75x17] baseline: 13.296875
|
||||
BlockContainer <div.four> at (450.140625,75) content-size 341.859375x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [450.140625,75 7.75x17] baseline: 13.296875
|
||||
"4"
|
||||
TextNode <#text>
|
||||
|
||||
|
@ -23,11 +23,11 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x84]
|
||||
PaintableBox (Box<DIV>.grid-container) [8,8 784x84]
|
||||
PaintableWithLines (BlockContainer<DIV>.one) [8,8 342x17]
|
||||
PaintableWithLines (BlockContainer<DIV>.one) [8,8 342.140625x17]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.two) [450,8 342x17]
|
||||
PaintableWithLines (BlockContainer<DIV>.two) [450.140625,8 341.859375x17]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.three) [8,75 342x17]
|
||||
PaintableWithLines (BlockContainer<DIV>.three) [8,75 342.140625x17]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>.four) [450,75 342x17]
|
||||
PaintableWithLines (BlockContainer<DIV>.four) [450.140625,75 341.859375x17]
|
||||
TextPaintable (TextNode<#text>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue