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

Unified Diff: LayoutTests/css3/compositing/svg-blend-layer-opacity.html

Issue 17115010: Add support for element blending to SVG (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test files for webkit-svg-shadow Created 7 years, 5 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
Index: LayoutTests/css3/compositing/svg-blend-layer-opacity.html
diff --git a/LayoutTests/css3/compositing/svg-blend-layer-opacity.html b/LayoutTests/css3/compositing/svg-blend-layer-opacity.html
new file mode 100644
index 0000000000000000000000000000000000000000..f6818b47845fdd066980a48353d250a91da59592
--- /dev/null
+++ b/LayoutTests/css3/compositing/svg-blend-layer-opacity.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<p>Test for isolation caused by opacity. This test passes if the whole rectangle is green.</p>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" >
+<g transform="scale(4 4)">
+ <rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/>
+ <g opacity=".5">
+ <rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
+ </g>
+</g>
+</svg>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698