Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/css/sticky/sticky-clip-rel-child-expected.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-clip-rel-child-expected.html b/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-clip-rel-child-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b3850d253f1a090e023aeee5db331aa479eb77e4 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-clip-rel-child-expected.html |
| @@ -0,0 +1,32 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +body { |
| + height: 2000px; |
| + margin: 0; |
| +} |
| +.sticky { |
| + background: red; |
| + height: 100px; |
| + width: 100px; |
| + overflow: hidden; |
| + position: relative; |
| + top: 100px; |
| +} |
| +.relative { |
| + background: green; |
| + height: 100px; |
| + width: 100px; |
| + position: relative; |
| +} |
| +</style> |
| +<script> |
| +function doTest() { |
| + window.scrollTo(0, 100); |
| +} |
| +window.addEventListener('load', doTest, false); |
| +</script> |
| +<div class="sticky"> |
| + <div class="relative"> |
| + </div> |
| +</div> |
| + |