diff --git a/Tests/LibWeb/Layout/expected/crash-tests/html-with-only-a-template-tag.txt b/Tests/LibWeb/Layout/expected/crash-tests/html-with-only-a-template-tag.txt new file mode 100644 index 00000000000..ac8ed6ccee5 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/crash-tests/html-with-only-a-template-tag.txt @@ -0,0 +1,7 @@ +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 + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + PaintableWithLines (BlockContainer) [0,0 800x16] + PaintableWithLines (BlockContainer) [8,8 784x0] diff --git a/Tests/LibWeb/Layout/input/crash-tests/html-with-only-a-template-tag.html b/Tests/LibWeb/Layout/input/crash-tests/html-with-only-a-template-tag.html new file mode 100644 index 00000000000..1c2ce3cd2f8 --- /dev/null +++ b/Tests/LibWeb/Layout/input/crash-tests/html-with-only-a-template-tag.html @@ -0,0 +1,2 @@ + +