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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/intermediate-layout-position-clip.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/intermediate-layout-position-clip.html --> 1 <!-- Based on fast/repaint/intermediate-layout-position-clip.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <title></title> 4 <title></title>
5 <style type="text/css"> 5 <style type="text/css">
6 .float { float: right; height: 40px; width: 40px; } 6 .float { float: right; height: 40px; width: 40px; }
7 .test { height: 200px; background-color: aliceblue } 7 .test { height: 200px; background-color: aliceblue }
8 </style> 8 </style>
9 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 9 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
10 <script type="text/javascript"> 10 <script type="text/javascript">
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow DIV id='target'",
13 ];
14 function paintInvalidationTest() 11 function paintInvalidationTest()
15 { 12 {
16 document.getElementById('target').style.height='20px'; 13 document.getElementById('target').style.height='20px';
17 } 14 }
18 </script> 15 </script>
19 </head> 16 </head>
20 <body onload="runPaintInvalidationTest()"> 17 <body onload="runPaintInvalidationTest()">
21 <div id="scroller" style="overflow: hidden; height: 40px"> 18 <div id="scroller" style="overflow: hidden; height: 40px">
22 <div class="test"> 19 <div class="test">
23 <div class="float"></div> 20 <div class="float"></div>
24 <div style="clear: right; padding-bottom: 10px;"> 21 <div style="clear: right; padding-bottom: 10px;">
25 <div style="height: 40px; width: 40px; background-color: red;" i d="target"> 22 <div style="height: 40px; width: 40px; background-color: red;" i d="target">
26 </div> 23 </div>
27 </div> 24 </div>
28 </div> 25 </div>
29 </div> 26 </div>
30 <script>scroller.scrollTop = 60;</script> 27 <script>scroller.scrollTop = 60;</script>
31 </body> 28 </body>
32 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698