Index: LayoutTests/compositing/backgrounds/fixed-background-on-descendant-expected.html |
diff --git a/LayoutTests/compositing/backgrounds/fixed-background-on-descendant-expected.html b/LayoutTests/compositing/backgrounds/fixed-background-on-descendant-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f1e0d7d6cf4f36ed1dd708495b6e9190ed523320 |
--- /dev/null |
+++ b/LayoutTests/compositing/backgrounds/fixed-background-on-descendant-expected.html |
@@ -0,0 +1,56 @@ |
+<!DOCTYPE html> |
+ |
+<html> |
esprehn
2014/01/08 01:53:55
We usually leave off the <html>, <head> and <body>
Stephen White
2014/03/27 15:07:12
Done (the tests were copied verbatim from the WebK
|
+<head> |
+ <style> |
+ body { |
+ height: 2000px; |
+ width: 2000px; |
+ overflow: hidden; |
+ } |
+ |
+ .box { |
+ width: 300px; |
+ height: 300px; |
+ margin: 20px; |
+ position: relative; |
+ } |
+ |
+ body > .box { |
+ border: 1px solid black; |
+ float: left; |
+ } |
+ .child { |
+ position: absolute; |
+ top: 50px; |
+ left: 50px; |
+ height: 200px; |
+ width: 200px; |
+ margin-left: 10px; |
+ background-image: url('../resources/alpha-blocks.png'); |
+ background-size: 500px 300px; |
+ background-repeat: no-repeat; |
+ background-attachment: fixed; |
+ border: 4px solid gray; |
+ } |
+ </style> |
+ <script> |
+ function doTest() |
+ { |
+ window.scrollTo(35, 45); |
+ } |
+ window.addEventListener('load', doTest, false); |
+ </script> |
+</head> |
+<body> |
+ |
+<div class="box"> |
+ <div class="child box"></div> |
+</div> |
+ |
+<div class="box"> |
+ <div class="child box"></div> |
+</div> |
+ |
+</body> |
+</html> |