mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +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
|
@ -1,19 +1,19 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x37 [BFC] children: not-inline
|
||||
Box <body> at (10,10) content-size 200x19 [GFC] children: not-inline
|
||||
BlockContainer <div> at (11,11) content-size 98x17 [BFC] children: inline
|
||||
BlockContainer <div> at (11,11) content-size 88.734375x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 5, rect: [11,11 36.84375x17] baseline: 13.296875
|
||||
"hello"
|
||||
TextNode <#text>
|
||||
BlockContainer <div> at (111,11) content-size 98x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 7, rect: [111,11 55.359375x17] baseline: 13.296875
|
||||
BlockContainer <div> at (101.734375,11) content-size 107.25x17 [BFC] children: inline
|
||||
frag 0 from TextNode start: 0, length: 7, rect: [101.734375,11 55.359375x17] baseline: 13.296875
|
||||
"friends"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x39]
|
||||
PaintableBox (Box<BODY>) [9,9 202x21]
|
||||
PaintableWithLines (BlockContainer<DIV>) [10,10 100x19]
|
||||
PaintableWithLines (BlockContainer<DIV>) [10,10 90.734375x19]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<DIV>) [110,10 100x19]
|
||||
PaintableWithLines (BlockContainer<DIV>) [100.734375,10 109.25x19]
|
||||
TextPaintable (TextNode<#text>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue