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> |