From 1578121dcbe5fa8611bbacaf33c7b1a559bb3bb3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 16 Jun 2023 13:45:09 +0200 Subject: [PATCH] Tests/LibWeb: Fix typo in test "display: max-content" is not a thing. The test was actually not working correctly, it just looked like it did. Now it has correct metrics for the body element. --- ...entage-max-width-and-indefinite-containing-block-width.txt | 4 ++-- ...ntage-max-width-and-indefinite-containing-block-width.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/LibWeb/Layout/expected/img-with-percentage-max-width-and-indefinite-containing-block-width.txt b/Tests/LibWeb/Layout/expected/img-with-percentage-max-width-and-indefinite-containing-block-width.txt index ab02b9a790..320c6c6952 100644 --- a/Tests/LibWeb/Layout/expected/img-with-percentage-max-width-and-indefinite-containing-block-width.txt +++ b/Tests/LibWeb/Layout/expected/img-with-percentage-max-width-and-indefinite-containing-block-width.txt @@ -1,7 +1,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline BlockContainer at (0,0) content-size 800x136 [BFC] children: not-inline - BlockContainer at (8,8) content-size 784x120 children: not-inline - BlockContainer
at (8,8) content-size 784x120 children: inline + BlockContainer at (8,8) content-size 120x120 children: not-inline + BlockContainer
at (8,8) content-size 120x120 children: inline line 0 width: 120, height: 120, bottom: 120, baseline: 120 frag 0 from ImageBox start: 0, length: 0, rect: [8,8 120x120] ImageBox at (8,8) content-size 120x120 children: not-inline diff --git a/Tests/LibWeb/Layout/input/img-with-percentage-max-width-and-indefinite-containing-block-width.html b/Tests/LibWeb/Layout/input/img-with-percentage-max-width-and-indefinite-containing-block-width.html index 4fdf085ea9..20ba40233c 100644 --- a/Tests/LibWeb/Layout/input/img-with-percentage-max-width-and-indefinite-containing-block-width.html +++ b/Tests/LibWeb/Layout/input/img-with-percentage-max-width-and-indefinite-containing-block-width.html @@ -1,4 +1,4 @@
\ No newline at end of file