From abaca60f9a84d620094a856f66079e3125a90131 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 19 Feb 2024 16:16:35 -0500 Subject: [PATCH] Tests/LibWeb: Move LibWeb test SVGs to their own directory --- Tests/LibWeb/Layout/{input/svg => data}/rectangle.svg | 0 .../Layout/{input/svg => data}/svg-without-viewbox.svg | 0 Tests/LibWeb/Layout/expected/svg/rectangle.txt | 9 --------- Tests/LibWeb/Layout/expected/svg/svg-without-viewbox.txt | 7 ------- .../Layout/input/svg/svg-as-image-implicit-viewbox.html | 2 +- Tests/LibWeb/Layout/input/svg/svg-as-image.html | 2 +- 6 files changed, 2 insertions(+), 18 deletions(-) rename Tests/LibWeb/Layout/{input/svg => data}/rectangle.svg (100%) rename Tests/LibWeb/Layout/{input/svg => data}/svg-without-viewbox.svg (100%) delete mode 100644 Tests/LibWeb/Layout/expected/svg/rectangle.txt delete mode 100644 Tests/LibWeb/Layout/expected/svg/svg-without-viewbox.txt diff --git a/Tests/LibWeb/Layout/input/svg/rectangle.svg b/Tests/LibWeb/Layout/data/rectangle.svg similarity index 100% rename from Tests/LibWeb/Layout/input/svg/rectangle.svg rename to Tests/LibWeb/Layout/data/rectangle.svg diff --git a/Tests/LibWeb/Layout/input/svg/svg-without-viewbox.svg b/Tests/LibWeb/Layout/data/svg-without-viewbox.svg similarity index 100% rename from Tests/LibWeb/Layout/input/svg/svg-without-viewbox.svg rename to Tests/LibWeb/Layout/data/svg-without-viewbox.svg diff --git a/Tests/LibWeb/Layout/expected/svg/rectangle.txt b/Tests/LibWeb/Layout/expected/svg/rectangle.txt deleted file mode 100644 index dcd21f511b..0000000000 --- a/Tests/LibWeb/Layout/expected/svg/rectangle.txt +++ /dev/null @@ -1,9 +0,0 @@ -Viewport <#document> at (0,0) content-size 800x600 [BFC] children: inline - SVGSVGBox at (0,0) content-size 800x600 [SVG] children: inline - TextNode <#text> - SVGGeometryBox at (250,0) content-size 300x600 children: not-inline - TextNode <#text> - -ViewportPaintable (Viewport<#document>) [0,0 800x600] - SVGSVGPaintable (SVGSVGBox) [0,0 800x600] - SVGPathPaintable (SVGGeometryBox) [250,0 300x600] diff --git a/Tests/LibWeb/Layout/expected/svg/svg-without-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/svg-without-viewbox.txt deleted file mode 100644 index 04ad3c6928..0000000000 --- a/Tests/LibWeb/Layout/expected/svg/svg-without-viewbox.txt +++ /dev/null @@ -1,7 +0,0 @@ -Viewport <#document> at (0,0) content-size 800x600 [BFC] children: inline - SVGSVGBox at (0,0) content-size 800x600 [SVG] children: not-inline - SVGGeometryBox at (0,0) content-size 100x200 children: not-inline - -ViewportPaintable (Viewport<#document>) [0,0 800x600] - SVGSVGPaintable (SVGSVGBox) [0,0 800x600] - SVGPathPaintable (SVGGeometryBox) [0,0 100x200] diff --git a/Tests/LibWeb/Layout/input/svg/svg-as-image-implicit-viewbox.html b/Tests/LibWeb/Layout/input/svg/svg-as-image-implicit-viewbox.html index 33f3a29c09..11b1e67957 100644 --- a/Tests/LibWeb/Layout/input/svg/svg-as-image-implicit-viewbox.html +++ b/Tests/LibWeb/Layout/input/svg/svg-as-image-implicit-viewbox.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Tests/LibWeb/Layout/input/svg/svg-as-image.html b/Tests/LibWeb/Layout/input/svg/svg-as-image.html index 6a9f6bfd8a..68ab789a44 100644 --- a/Tests/LibWeb/Layout/input/svg/svg-as-image.html +++ b/Tests/LibWeb/Layout/input/svg/svg-as-image.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file