Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/compositing/layer-creation/resources/background-attachment-fixed.html |
| diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/background-attachment-fixed.html b/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/background-attachment-fixed.html |
| index 7fe9fed1c29f6440aa56fd0603b0701291d0cccb..e44b46f9082f4b145b0ad927b91d4100ccea49bb 100644 |
| --- a/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/background-attachment-fixed.html |
| +++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/background-attachment-fixed.html |
| @@ -1,7 +1,20 @@ |
| <!DOCTYPE html> |
| +<pre id="mainThreadScrollingReasons"></pre> |
| <style> |
| -body { |
| +.composited-background-attachment-fixed { |
| height: 1000px; |
| background: url('grid.png') fixed; |
| + will-change: transform; |
| } |
| </style> |
| + |
| +<div class="composited-background-attachment-fixed"> |
| +</div> |
| + |
| +<script> |
| +if (window.testRunner) |
|
pdr.
2016/12/19 04:04:28
Nit: is this test only loaded as an iframe in othe
yigu
2016/12/20 00:48:34
Done.
|
| + testRunner.dumpAsText(true); |
| +window.addEventListener('load', function() { |
| + document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons(document); |
| +}); |
| +</script> |