Tests/LibWeb: Add ref tests for non-local SVG clipPaths

This commit is contained in:
MacDue 2024-05-04 17:19:43 +01:00 committed by Andreas Kling
parent 561beb5e95
commit b5a7a8dbfd
Notes: sideshowbarker 2024-07-17 06:39:26 +09:00
4 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<!doctype html>
<svg>
</svg>
<svg>
<rect fill="red" width="100" height="100">
</svg>

View file

@ -0,0 +1,6 @@
<!doctype html>
<svg>
</svg>
<svg>
<rect fill="red" x="10" y="10" width="50" height="50">
</svg>

View file

@ -0,0 +1,13 @@
<!doctype html>
<link rel="match" href="reference/svg-non-local-clip-path-display-none-ref.html" />
<svg>
<clipPath id="jeez" style="display:none">
<rect x="10" y="10" width="50" height="50">
</clipPath>
</svg>
<svg>
<g clip-path="url(#jeez)">
<rect fill="red" width="100" height="100">
</rect>
</g>
</svg>

View file

@ -0,0 +1,13 @@
<!doctype html>
<link rel="match" href="reference/svg-non-local-clip-path-ref.html" />
<svg>
<clipPath id="jeez">
<rect x="10" y="10" width="50" height="50">
</clipPath>
</svg>
<svg>
<g clip-path="url(#jeez)">
<rect fill="red" width="100" height="100">
</rect>
</g>
</svg>