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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/resize-child-within-overflow.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/resize-child-within-overflow.html --> 1 <!-- Based on fast/repaint/resize-child-within-overflow.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 class='container'",
7 ];
8 function paintInvalidationTest() 5 function paintInvalidationTest()
9 { 6 {
10 document.getElementById('child').style.width = '600px'; 7 document.getElementById('child').style.width = '600px';
11 } 8 }
12 window.onload = runPaintInvalidationTest; 9 window.onload = runPaintInvalidationTest;
13 </script> 10 </script>
14 <style> 11 <style>
15 body { 12 body {
16 margin: 0; 13 margin: 0;
17 } 14 }
18 .container { 15 .container {
19 position: absolute; 16 position: absolute;
20 height: 1000px; 17 height: 1000px;
21 background-color: blue; 18 background-color: blue;
22 } 19 }
23 #child { 20 #child {
24 width: 400px; 21 width: 400px;
25 } 22 }
26 .overflow { 23 .overflow {
27 width: 800px; 24 width: 800px;
28 height: 50px; 25 height: 50px;
29 } 26 }
30 </style> 27 </style>
31 <div class="container"> 28 <div class="container">
32 <div id="child"> 29 <div id="child">
33 <div class="overflow"></div> 30 <div class="overflow"></div>
34 </div> 31 </div>
35 </div> 32 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698