summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html b/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html
new file mode 100644
index 0000000000..d9ea5183fb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html
@@ -0,0 +1,29 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Masking: Reference for clip-path's path function with evenodd</title>
+ <style type="text/css">
+ #rect {
+ width: 100px;
+ height: 100px;
+ background-color: green;
+ clip-path: url("#clip");
+ }
+ </style>
+</head>
+<body>
+ <p>The test passes if there are a green hollow rect.</p>
+ <div id="rect"></div>
+ <svg height="0" width="0">
+ <defs>
+ <clipPath id="clip">
+ <path clip-rule="evenodd" d="M10,10h80v80h-80zM25,25h50v50h-50z"/>
+ </clipPath>
+ </defs>
+ </svg>
+</body>
+</html>