From 71b7e65a52bb5e4e7929cc67d0e7f2a997a33e9b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 15 Mar 2023 11:08:13 +0100 Subject: [PATCH] Tests/LibWeb: Add ACID1 as a layout test This will help us catch any future regressions immediately. --- Tests/LibWeb/Layout/expected/acid1.txt | 137 ++++++++++++++++++++ Tests/LibWeb/Layout/input/acid1.html | 165 +++++++++++++++++++++++++ 2 files changed, 302 insertions(+) create mode 100644 Tests/LibWeb/Layout/expected/acid1.txt create mode 100644 Tests/LibWeb/Layout/input/acid1.html diff --git a/Tests/LibWeb/Layout/expected/acid1.txt b/Tests/LibWeb/Layout/expected/acid1.txt new file mode 100644 index 0000000000..7a2992f068 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/acid1.txt @@ -0,0 +1,137 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x420 children: not-inline + BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline + TextNode <#text> + BlockContainer at (20,20) content-size 480x380 children: not-inline + BlockContainer <(anonymous)> at (20,20) content-size 480x0 children: inline + TextNode <#text> + BlockContainer
at (25,25) content-size 470x0 children: inline + TextNode <#text> + BlockContainer
at (40,40) content-size 49.998596x280 floating children: inline + line 0 width: 28.310546, height: 10, bottom: 10, baseline: 7.998046 + frag 0 from TextNode start: 0, length: 6, rect: [40,40 28.310546x10] + "toggle" + TextNode <#text> + TextNode <#text> + BlockContainer
at (135,45) content-size 340x270 floating children: not-inline + BlockContainer <(anonymous)> at (135,45) content-size 340x0 children: inline + TextNode <#text> + BlockContainer