diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-h.txt b/Tests/LibWeb/Layout/expected/svg/standalone-h.txt new file mode 100644 index 00000000000..4c1cbf64e89 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-h.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 128x600 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (0,172) content-size 128x256 children: not-inline + TextNode <#text> + SVGGraphicsBox at (0,172) content-size 128x256 children: inline + TextNode <#text> + SVGGeometryBox at (0,172) content-size 128x256 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 128x600] + SVGPathPaintable (SVGGeometryBox) [0,172 128x256] + SVGGraphicsPaintable (SVGGraphicsBox) [0,172 128x256] + SVGPathPaintable (SVGGeometryBox) [0,172 128x256] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt new file mode 100644 index 00000000000..fa98bcbc417 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 128x600 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + SVGGraphicsBox at (0,0) content-size 32x64 children: inline + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 128x600] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + SVGGraphicsPaintable (SVGGraphicsBox) [0,0 32x64] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt new file mode 100644 index 00000000000..e5759aadaa5 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 800x256 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + SVGGraphicsBox at (0,0) content-size 32x64 children: inline + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 800x256] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + SVGGraphicsPaintable (SVGGraphicsBox) [0,0 32x64] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt new file mode 100644 index 00000000000..d1f3acb8717 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 800x600 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + SVGGraphicsBox at (0,0) content-size 32x64 children: inline + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 800x600] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + SVGGraphicsPaintable (SVGGraphicsBox) [0,0 32x64] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt new file mode 100644 index 00000000000..13db94c3ce5 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 128x256 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + SVGGraphicsBox at (0,0) content-size 32x64 children: inline + TextNode <#text> + SVGGeometryBox at (0,0) content-size 32x64 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 128x256] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + SVGGraphicsPaintable (SVGGraphicsBox) [0,0 32x64] + SVGPathPaintable (SVGGeometryBox) [0,0 32x64] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-w.txt b/Tests/LibWeb/Layout/expected/svg/standalone-w.txt new file mode 100644 index 00000000000..d131ba6efba --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-w.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 800x256 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (336,0) content-size 128x256 children: not-inline + TextNode <#text> + SVGGraphicsBox at (336,0) content-size 128x256 children: inline + TextNode <#text> + SVGGeometryBox at (336,0) content-size 128x256 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 800x256] + SVGPathPaintable (SVGGeometryBox) [336,0 128x256] + SVGGraphicsPaintable (SVGGraphicsBox) [336,0 128x256] + SVGPathPaintable (SVGGeometryBox) [336,0 128x256] + diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt b/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt new file mode 100644 index 00000000000..9748db92587 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt @@ -0,0 +1,18 @@ +Viewport <#document> at (0,0) content-size 800x600 [BFC] children: not-inline + SVGSVGBox at (0,0) content-size 800x600 [SVG] children: inline + TextNode <#text> + TextNode <#text> + SVGGeometryBox at (250,0) content-size 300x600 children: not-inline + TextNode <#text> + SVGGraphicsBox at (250,0) content-size 300x600 children: inline + TextNode <#text> + SVGGeometryBox at (250,0) content-size 300x600 children: not-inline + TextNode <#text> + TextNode <#text> + +ViewportPaintable (Viewport<#document>) [0,0 800x600] + SVGSVGPaintable (SVGSVGBox) [0,0 800x600] + SVGPathPaintable (SVGGeometryBox) [250,0 300x600] + SVGGraphicsPaintable (SVGGraphicsBox) [250,0 300x600] + SVGPathPaintable (SVGGeometryBox) [250,0 300x600] + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-h.svg b/Tests/LibWeb/Layout/input/svg/standalone-h.svg new file mode 100644 index 00000000000..33ac71492e2 --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-h.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no height + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-vb-h.svg b/Tests/LibWeb/Layout/input/svg/standalone-vb-h.svg new file mode 100644 index 00000000000..134db81e091 --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-vb-h.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no viewBox; no height + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-vb-w.svg b/Tests/LibWeb/Layout/input/svg/standalone-vb-w.svg new file mode 100644 index 00000000000..2418d07a9ce --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-vb-w.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no viewBox; no width + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-vb-wh.svg b/Tests/LibWeb/Layout/input/svg/standalone-vb-wh.svg new file mode 100644 index 00000000000..12fbe062690 --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-vb-wh.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no viewBox; no width; no height + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-vb.svg b/Tests/LibWeb/Layout/input/svg/standalone-vb.svg new file mode 100644 index 00000000000..f0d8c8639af --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-vb.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no viewBox + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-w.svg b/Tests/LibWeb/Layout/input/svg/standalone-w.svg new file mode 100644 index 00000000000..dd260571df4 --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-w.svg @@ -0,0 +1,13 @@ + + + white diamond on blue; no width + + + + + diff --git a/Tests/LibWeb/Layout/input/svg/standalone-wh.svg b/Tests/LibWeb/Layout/input/svg/standalone-wh.svg new file mode 100644 index 00000000000..6d8d736d62e --- /dev/null +++ b/Tests/LibWeb/Layout/input/svg/standalone-wh.svg @@ -0,0 +1,7 @@ + + white diamond on blue; no width ; no height + + + + +