diff options
author | Andreas Kling <kling@serenityos.org> | 2023-04-18 09:10:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-18 10:06:02 +0200 |
commit | 0d5e0d27aac73967753ba1efe4e89c080b71f978 (patch) | |
tree | 0165d2849ffb85ba47dde1b2be15a076f090990c /Tests/LibWeb/Layout/expected/flex | |
parent | 8f988b7baedfedfeffb95a5fbcf7c27d25c3ac0a (diff) | |
download | serenity-0d5e0d27aac73967753ba1efe4e89c080b71f978.zip |
LibWeb: Treat unresolvable percentage flex-basis values as 'content'
Per CSS-FLEXBOX-1, we should treat percentage values of flex-basis as
'content' if they resolve against an indefinite size of the flex
container.
Diffstat (limited to 'Tests/LibWeb/Layout/expected/flex')
-rw-r--r-- | Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-flex-container-size.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-flex-container-size.txt b/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-flex-container-size.txt new file mode 100644 index 0000000000..df5bd83588 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-flex-container-size.txt @@ -0,0 +1,9 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer <html> at (0,0) content-size 800x33.46875 children: not-inline + Box <body.outer> at (8,8) content-size 200x17.46875 flex-container(column) children: not-inline + BlockContainer <div.middle> at (8,8) content-size 200x17.46875 flex-item children: not-inline + BlockContainer <div.inner> at (8,8) content-size 200x17.46875 children: inline + line 0 width: 174.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 20, rect: [8,8 174.234375x17.46875] + "percentages are hard" + TextNode <#text> |