From fc3c3aef2295e6684ea72f442025a4435450f937 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 6 May 2023 20:51:56 +0200 Subject: LibWeb: Enforce min/max height constraints on abspos replaced boxes Fixes #18658 --- .../Layout/expected/abspos-image-with-min-height-constraint.txt | 4 ++++ .../Layout/input/abspos-image-with-min-height-constraint.html | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt create mode 100644 Tests/LibWeb/Layout/input/abspos-image-with-min-height-constraint.html (limited to 'Tests') diff --git a/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt new file mode 100644 index 0000000000..57a613234f --- /dev/null +++ b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt @@ -0,0 +1,4 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x16 [BFC] children: not-inline + BlockContainer at (8,8) content-size 784x0 children: not-inline + ImageBox at (8,8) content-size 800x600 positioned children: not-inline diff --git a/Tests/LibWeb/Layout/input/abspos-image-with-min-height-constraint.html b/Tests/LibWeb/Layout/input/abspos-image-with-min-height-constraint.html new file mode 100644 index 0000000000..87309674db --- /dev/null +++ b/Tests/LibWeb/Layout/input/abspos-image-with-min-height-constraint.html @@ -0,0 +1,9 @@ + \ No newline at end of file -- cgit v1.2.3