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

Unified Diff: LayoutTests/fast/canvas/canvas-css-clip-path-intersection-expected.html

Issue 59613010: Fix propagation of clip-path and border-radius clipping to child layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix for mac build Created 7 years, 1 month 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/fast/canvas/canvas-css-clip-path-intersection-expected.html
diff --git a/LayoutTests/fast/canvas/canvas-css-clip-path-intersection-expected.html b/LayoutTests/fast/canvas/canvas-css-clip-path-intersection-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..8a461e6638915ef5fedfda83127c0ce47e65cda2
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-css-clip-path-intersection-expected.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+ <p>This test verifies that nested divs with intersecting clip-paths apply correctly to canvas elements</p>
+ <p>Below there should be two identical green squares with a yellow border to the top and left, and a blue border to the bottom and right.</p>
+ <div style="background-color:blue; width:100px; height:100px;">
+ <div style="background-color:yellow; width:80px; height:80px;">
+ <div style="background-color:green; position:relative; left:20px; top:20px; width:60px; height:60px;"></div>
+ </div>
+ </div>
+ <br>
+ <div style="background-color:blue; width:100px; height:100px;">
+ <div style="background-color:yellow; width:80px; height:80px;">
+ <div style="background-color:green; position:relative; left:20px; top:20px; width:60px; height:60px;"></div>
+ </div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698