mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Tests/LibWeb: Add ref tests for non-local SVG clipPaths
This commit is contained in:
parent
561beb5e95
commit
b5a7a8dbfd
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/b5a7a8dbfd Pull-request: https://github.com/SerenityOS/serenity/pull/24208
@ -0,0 +1,6 @@
|
||||
<!doctype html>
|
||||
<svg>
|
||||
</svg>
|
||||
<svg>
|
||||
<rect fill="red" width="100" height="100">
|
||||
</svg>
|
@ -0,0 +1,6 @@
|
||||
<!doctype html>
|
||||
<svg>
|
||||
</svg>
|
||||
<svg>
|
||||
<rect fill="red" x="10" y="10" width="50" height="50">
|
||||
</svg>
|
13
Tests/LibWeb/Ref/svg-non-local-clip-path-display-none.html
Normal file
13
Tests/LibWeb/Ref/svg-non-local-clip-path-display-none.html
Normal 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>
|
13
Tests/LibWeb/Ref/svg-non-local-clip-path.html
Normal file
13
Tests/LibWeb/Ref/svg-non-local-clip-path.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user