mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
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:
parent
08253d6aee
commit
b7efb61fbe
Notes:
github-actions[bot]
2024-11-05 16:45:19 +00:00
Author: https://github.com/AtkinsSJ
Commit: b7efb61fbe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2175
Reviewed-by: https://github.com/gmta ✅
360 changed files with 451 additions and 448 deletions
99
Tests/LibWeb/Ref/input/svg-path-incomplete-args.html
Normal file
99
Tests/LibWeb/Ref/input/svg-path-incomplete-args.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue