Index: LayoutTests/fast/canvas/canvas-css-clip-path-nested-container-expected.html |
diff --git a/LayoutTests/fast/canvas/canvas-css-clip-path-nested-container-expected.html b/LayoutTests/fast/canvas/canvas-css-clip-path-nested-container-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd22ec043d263a5b190e9b11cacb5c5e7557a869 |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-css-clip-path-nested-container-expected.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<body> |
+ <p>This test verifies that nested divs with clip-paths apply correctly to canvas elements</p> |
+ <p>Below there should be two identical green squares nested in blue squares, nested in yellow squares</p> |
+ <div style="background-color:yellow; width:100px; height:100px;"> |
+ <div style="background-color:blue; position:relative; left:10px; top:10px; width:80px; height:80px;"> |
+ <div style="background-color:green; position:relative; left:10px; top:10px; width:60px; height:60px;"></div> |
+ </div> |
+ </div> |
+ <br> |
+ <div style="background-color:yellow; width:100px; height:100px;"> |
+ <div style="background-color:blue; position:relative; left:10px; top:10px; width:80px; height:80px;"> |
+ <div style="background-color:green; position:relative; left:10px; top:10px; width:60px; height:60px;"></div> |
+ </div> |
+ </div> |
+</body> |
+</html> |