summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml')
-rw-r--r--layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml b/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml
new file mode 100644
index 000000000..d845463e0
--- /dev/null
+++ b/layout/reftests/svg/svg-integration/mask-clipPath-opacity-01a.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<head>
+<style>
+ div {
+ width: 100px;
+ height: 100px;
+ mask: url(#m1);
+ background-color: blue;
+ }
+</style>
+</head>
+<body>
+ <div/>
+ <svg:svg height="0">
+ <svg:mask id="m1" style="mask-type:alpha">
+ <svg:rect x="0" y="0" width="50" height="100" style="stroke:none; fill: #ffffff" fill-opacity="0.5"/>
+ </svg:mask>
+ </svg:svg>
+</body>
+</html>