Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others

Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
This commit is contained in:
Sam Atkins 2024-11-05 12:49:08 +00:00 committed by Sam Atkins
commit b7efb61fbe
Notes: github-actions[bot] 2024-11-05 16:45:19 +00:00
360 changed files with 451 additions and 448 deletions

View file

@ -0,0 +1,99 @@
<!DOCTYPE html>
<link rel="match" href="../expected/svg-path-incomplete-args-ref.html" />
<div>
<svg width="800" height="100">
<g stroke="black">
<path d="invalid" />
</g>
<text x="0" y="50" font-size="1em">This should be drawn</text>
</svg>
</div>
<div>
<svg width="100" height="100">
<g stroke="black">
<path d="M 0 50 A 30 20, 0, 0 0, 90 50 this elliptical arc should be drawn" />
<path stroke-width="5" d="M 50 0 V 50 this vertical line should be drawn" />
</g>
</svg>
</div>
<div>
<svg width="100" height="100">
<!--This won't be drawn since paths should start with an M command-->
<path stroke="black" d="V10" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 VH 10" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 L 10" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" stroke-width="5" fill="transparent" d="M 10 10 C 20" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" stroke-width="5" fill="transparent" d="M 10 10 C 20 20, 40 20" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" stroke-width="5" fill="transparent" d="M 10 10 C 20 20, 40 20, 50" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" stroke-width="5" d="M 0 50 L 10" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A 30" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A 30 20," />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A 30 20, 0" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path d="M 0 50 A 30 20, 0, 0" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A 30 20, 0, 0 0" />
</svg>
</div>
<div>
<svg width="100" height="100">
<path stroke="black" d="M 0 50 A 30 20, 0, 0 0, 90" />
</svg>
</div>