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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/inline-block-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/repaint/inline-block-resize.html --> 1 <!-- Based on fast/repaint/inline-block-resize.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title> 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
5 <style type="text/css"> 5 <style type="text/css">
6 6
7 </style> 7 </style>
8 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 8 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
9 <script> 9 <script>
10 window.expectedPaintInvalidationObjects = [
11 "RootInlineBox",
12 "InlineBox",
13 "LayoutBlockFlow (positioned) DIV",
14 "LayoutBlockFlow DIV id='target'",
15 ];
16 function paintInvalidationTest() 10 function paintInvalidationTest()
17 { 11 {
18 document.getElementById('target').style.width = '100px'; 12 document.getElementById('target').style.width = '100px';
19 document.getElementById('target').style.height = '100px'; 13 document.getElementById('target').style.height = '100px';
20 document.getElementById('target').style.marginTop = '-100px'; 14 document.getElementById('target').style.marginTop = '-100px';
21 } 15 }
22 </script> 16 </script>
23 </head> 17 </head>
24 <body onload="runPaintInvalidationTest();"> 18 <body onload="runPaintInvalidationTest();">
25 <div style="position:absolute; height:100px; width:100px;background-color:re d"></div> 19 <div style="position:absolute; height:100px; width:100px;background-color:re d"></div>
26 <div style="padding-top:100px"></div> 20 <div style="padding-top:100px"></div>
27 <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div> 21 <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div>
28 </div> 22 </div>
29 </body> 23 </body>
30 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698