summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/svg-integration/css-and-svg-filter-01.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/svg-integration/css-and-svg-filter-01.html')
-rw-r--r--layout/reftests/svg/svg-integration/css-and-svg-filter-01.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/svg/svg-integration/css-and-svg-filter-01.html b/layout/reftests/svg/svg-integration/css-and-svg-filter-01.html
new file mode 100644
index 0000000000..7b278d1b10
--- /dev/null
+++ b/layout/reftests/svg/svg-integration/css-and-svg-filter-01.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ .dark {
+ filter: invert(1) url("#balance-color") ;
+ }
+ </style>
+</head>
+<body>
+
+ <svg class="dark" width="400" height="110">
+ <rect width="300" height="100" style="fill:rgb(255,255,255);" />
+ </svg>
+
+ <svg width="10" height="10">
+ <defs>
+ <filter id="balance-color">
+ <feColorMatrix type="matrix"
+ values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0">
+ </feColorMatrix>
+ </filter>
+ </defs>
+ </svg>
+
+</body>
+</html>