mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
This isn't actually part of CSS-FLEXBOX-1, but all major engines honor these properties in flex layout, and it's widely used on the web. There's a bug open against the flexbox spec where fantasai says the algorithm will be updated in CSS-FLEXBOX-2: https://github.com/w3c/csswg-drafts/issues/2336 I've added comments to all the places where we adjust calculations for gaps with "CSS-FLEXBOX-2" so we can find them easily. When that spec becomes available, we can add proper spec links.
12 lines
1 KiB
Text
12 lines
1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x268 children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x250 children: not-inline
|
|
Box <div.flexbox> at (11,11) content-size 100x248 flex-container(row) children: not-inline
|
|
BlockContainer <div> at (12,12) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (64,12) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (12,84) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (64,84) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (12,156) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (64,156) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (12,228) content-size 30x30 flex-item children: not-inline
|
|
BlockContainer <div> at (64,228) content-size 30x30 flex-item children: not-inline
|