Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/absolute-layer-specified-left-or-right-auto-width-moved-vertically.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- Based on fast/repaint/absolute-layer-specified-left-or-right-auto-width-mov ed-vertically.html --> 1 <!-- Based on fast/repaint/absolute-layer-specified-left-or-right-auto-width-mov ed-vertically.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() 5 function paintInvalidationTest()
8 { 6 {
9 document.getElementById('left').style.top = '400px'; 7 document.getElementById('left').style.top = '400px';
10 document.getElementById('right').style.top = '400px'; 8 document.getElementById('right').style.top = '400px';
11 } 9 }
12 10
13 window.onload = runPaintInvalidationTest; 11 window.onload = runPaintInvalidationTest;
14 </script> 12 </script>
15 13
16 <style> 14 <style>
17 #left, #right { 15 #left, #right {
18 position: absolute; 16 position: absolute;
19 top: 200px; 17 top: 200px;
20 -webkit-backface-visibility: hidden; 18 -webkit-backface-visibility: hidden;
21 } 19 }
22 #left { 20 #left {
23 left: 0px; 21 left: 0px;
24 } 22 }
25 #right { 23 #right {
26 right: 0px; 24 right: 0px;
27 } 25 }
28 </style> 26 </style>
29 27
30 There should be no repaint when the divs are moved vertically. 28 There should be no repaint when the divs are moved vertically.
31 <div id="left">Left</div> 29 <div id="left">Left</div>
32 <div id="right">Right</div> 30 <div id="right">Right</div>
33 <pre id="result"></pre> 31 <pre id="result"></pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698