Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: LayoutTests/svg/clip-path/clip-path-multiple-children-expected.svg

Issue 669703002: Add test for clip-rule and several path element children. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: try ImageOnlyFailure Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/clip-path/clip-path-multiple-children.svg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/clip-path/clip-path-multiple-children-expected.svg
diff --git a/LayoutTests/svg/clip-path/clip-path-multiple-children-expected.svg b/LayoutTests/svg/clip-path/clip-path-multiple-children-expected.svg
new file mode 100644
index 0000000000000000000000000000000000000000..87b4aeae2bd598803c6062704a6b7c5623d9b4fd
--- /dev/null
+++ b/LayoutTests/svg/clip-path/clip-path-multiple-children-expected.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 100">
+ <defs>
+ <clipPath id="diff-path">
+ <path d="M 17.189453 0.24804688 C 6.9654531 0.24804688 0.18945313 10.201172 0.18945312 10.201172 C 0.18945312 10.201172 6.8324531 20.152344 17.189453 20.152344 C 27.546453 20.152344 34.189453 10.201172 34.189453 10.201172 C 34.189453 10.201172 27.413453 0.24804688 17.189453 0.24804688 z M 17.189453 3.0820312 C 21.090453 3.0820312 24.253906 6.2691719 24.253906 10.201172 C 24.253906 14.132172 21.090453 17.320312 17.189453 17.320312 C 13.287453 17.320312 10.125 14.132172 10.125 10.201172 C 10.125 6.2691719 13.287453 3.0820313 17.189453 3.0820312 z M 17.189453 7.3496094 C 15.626453 7.3496094 14.361328 8.6241719 14.361328 10.201172 C 14.361328 11.777172 15.627453 13.056641 17.189453 13.056641 C 18.751453 13.056641 20.019531 11.776172 20.019531 10.201172 C 20.019531 8.6251719 18.752453 7.3496094 17.189453 7.3496094 z"/>
+ </clipPath>
+ <clipPath id="diff-path-evenodd" clip-rule="evenodd">
+ <path d="M 17.189453 0.24804688 C 6.9654531 0.24804688 0.18945313 10.201172 0.18945312 10.201172 C 0.18945312 10.201172 6.8324531 20.152344 17.189453 20.152344 C 27.546453 20.152344 34.189453 10.201172 34.189453 10.201172 C 34.189453 10.201172 27.413453 0.24804688 17.189453 0.24804688 z M 17.189453 3.0820312 C 21.090453 3.0820312 24.253906 6.2691719 24.253906 10.201172 C 24.253906 14.132172 21.090453 17.320312 17.189453 17.320312 C 13.287453 17.320312 10.125 14.132172 10.125 10.201172 C 10.125 6.2691719 13.287453 3.0820313 17.189453 3.0820312 z M 17.189453 7.3496094 C 15.626453 7.3496094 14.361328 8.6241719 14.361328 10.201172 C 14.361328 11.777172 15.627453 13.056641 17.189453 13.056641 C 18.751453 13.056641 20.019531 11.776172 20.019531 10.201172 C 20.019531 8.6251719 18.752453 7.3496094 17.189453 7.3496094 z"/>
+ </clipPath>
+ <clipPath id="diff-path-nonzero" clip-rule="nonzero">
+ <path d="M 17.189453 0.24804688 C 6.9654531 0.24804688 0.18945313 10.201172 0.18945312 10.201172 C 0.18945312 10.201172 6.8324531 20.152344 17.189453 20.152344 C 27.546453 20.152344 34.189453 10.201172 34.189453 10.201172 C 34.189453 10.201172 27.413453 0.24804688 17.189453 0.24804688 z M 17.189453 3.0820312 C 21.090453 3.0820312 24.253906 6.2691719 24.253906 10.201172 C 24.253906 14.132172 21.090453 17.320312 17.189453 17.320312 C 13.287453 17.320312 10.125 14.132172 10.125 10.201172 C 10.125 6.2691719 13.287453 3.0820313 17.189453 3.0820312 z M 17.189453 7.3496094 C 15.626453 7.3496094 14.361328 8.6241719 14.361328 10.201172 C 14.361328 11.777172 15.627453 13.056641 17.189453 13.056641 C 18.751453 13.056641 20.019531 11.776172 20.019531 10.201172 C 20.019531 8.6251719 18.752453 7.3496094 17.189453 7.3496094 z"/>
+ </clipPath>
+ </defs>
+ <rect width="100" height="100" clip-path="url(#diff-path)"/>
+ <rect transform="translate(50,0)" width="100" height="100" clip-path="url(#diff-path-evenodd)"/>
+ <rect transform="translate(100,0)" width="100" height="100" clip-path="url(#diff-path-nonzero)"/>
+</svg>
« no previous file with comments | « LayoutTests/svg/clip-path/clip-path-multiple-children.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698