summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/Text_with_SVG_background.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/compositing/Text_with_SVG_background.html')
-rw-r--r--testing/web-platform/tests/css/compositing/Text_with_SVG_background.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/compositing/Text_with_SVG_background.html b/testing/web-platform/tests/css/compositing/Text_with_SVG_background.html
new file mode 100644
index 0000000000..5ee919ba8c
--- /dev/null
+++ b/testing/web-platform/tests/css/compositing/Text_with_SVG_background.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>mix-blend-mode with simple SVG graphical elements API Test: Text with SVG background</title>
+ <link rel="author" title="windtale" href="mailto:windtale@163.com">
+ <link rel="help" href="http://www.w3.org/TR/compositing-1/#mix-blend-mode">
+ <meta name="flags" content="svg">
+ <meta name="assert" content="Text with SVG background">
+ <style type="text/css">
+ #lblTxt {
+ mix-blend-mode: darken;
+ }
+ #svgMain {
+ top: 100px;
+ left: 100px;
+ width: 200px;
+ height: 200px;
+ background: blue;
+ }
+ </style>
+
+</head>
+<body>
+
+<svg id="svgMain">
+ <text id="lblTxt" y="55">Text with SVG background</text>
+</svg>
+
+</body>
+</html>