| Index: LayoutTests/paint/invalidation/spv2/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| diff --git a/LayoutTests/fast/repaint/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html b/LayoutTests/paint/invalidation/spv2/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| similarity index 50%
|
| copy from LayoutTests/fast/repaint/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| copy to LayoutTests/paint/invalidation/spv2/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| index b441f55e25994c11fead31904a9599821a22278d..736e54803029de79eb70f32fa4ab440ace3494a5 100644
|
| --- a/LayoutTests/fast/repaint/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html
|
| @@ -1,24 +1,16 @@
|
| +<!-- Based on fast/repaint/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html -->
|
| <!DOCTYPE html>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function test()
|
| +window.expectedPaintInvalidationObjects = [
|
| +];
|
| +function paintInvalidationTest()
|
| {
|
| - if (!window.testRunner || !window.internals)
|
| - return;
|
| -
|
| - testRunner.dumpAsText();
|
| - document.body.offsetTop;
|
| - internals.startTrackingRepaints(document);
|
| -
|
| document.getElementById('left').style.top = '400px';
|
| document.getElementById('right').style.top = '400px';
|
| -
|
| - document.body.offsetTop;
|
| - var layerTree = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
|
| - window.internals.stopTrackingRepaints(document);
|
| - document.getElementById('result').textContent = layerTree.indexOf('repaint') == -1 ? 'SUCCESS' : 'FAIL';
|
| }
|
|
|
| -window.onload = test;
|
| +window.onload = runPaintInvalidationTest;
|
| </script>
|
|
|
| <style>
|
|
|