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

Unified Diff: LayoutTests/css3/compositing/svg-blend-overlapping-elements-expected.html

Issue 98543012: [CSS Blending] SVG overlapping elements within a group don't blend together. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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-overlapping-elements-expected.html
diff --git a/LayoutTests/css3/compositing/svg-blend-overlapping-elements-expected.html b/LayoutTests/css3/compositing/svg-blend-overlapping-elements-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5b83860bc90d4204a6f09a981bb3f44fec4fde5
--- /dev/null
+++ b/LayoutTests/css3/compositing/svg-blend-overlapping-elements-expected.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+ <body>
+ <p>Test mix-blend-mode on a group consisting of overlapping elements. <br/>
+ The two rects should blend as a whole with the yellow background. <br/>
+ Test passes if the two rectangles are drawn with green, and their intersection is not blended.
+ </p>
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200px" height="200px" style="background: #FF0">
+ <g>
+ <rect x="25" y="25" width="100" height="100" style="fill: #080;"/>
+ <rect x="75" y="75" width="100" height="100" style="fill: #050;"/>
+ </g>
+ </svg>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698