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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/shadow-box-resize.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/box-shadow/shadow-box-resize.html --> 1 <!-- Based on fast/box-shadow/shadow-box-resize.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 "LayoutBlockFlow (positioned) DIV id='target1'",
7 "LayoutBlockFlow (positioned) DIV id='target2'",
8 "LayoutBlockFlow (positioned) DIV id='target3'",
9 "LayoutBlockFlow (positioned) DIV id='target4'",
10 ];
11 function paintInvalidationTest() 5 function paintInvalidationTest()
12 { 6 {
13 document.getElementById('target1').style.width = '150px'; 7 document.getElementById('target1').style.width = '150px';
14 document.getElementById('target2').style.width = '50px'; 8 document.getElementById('target2').style.width = '50px';
15 document.getElementById('target3').style.height = '150px'; 9 document.getElementById('target3').style.height = '150px';
16 document.getElementById('target4').style.height = '50px'; 10 document.getElementById('target4').style.height = '50px';
17 } 11 }
18 window.onload = runPaintInvalidationTest; 12 window.onload = runPaintInvalidationTest;
19 </script> 13 </script>
20 <style> 14 <style>
(...skipping 21 matching lines...) Expand all
42 } 36 }
43 #target4 { 37 #target4 {
44 top: 300px; 38 top: 300px;
45 left: 300px; 39 left: 300px;
46 } 40 }
47 </style> 41 </style>
48 <div id="target1"></div> 42 <div id="target1"></div>
49 <div id="target2"></div> 43 <div id="target2"></div>
50 <div id="target3"></div> 44 <div id="target3"></div>
51 <div id="target4"></div> 45 <div id="target4"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698