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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/inline-block-resize.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title> 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
4 <style type="text/css"> 4 <style type="text/css">
5 5
6 </style> 6 </style>
7 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 7 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
8 <script> 8 <script>
9 function repaintTest() 9 function repaintTest()
10 { 10 {
11 document.getElementById('target').style.width = '100px'; 11 document.getElementById('target').style.width = '100px';
12 document.getElementById('target').style.height = '100px'; 12 document.getElementById('target').style.height = '100px';
13 document.getElementById('target').style.marginTop = '-100px'; 13 document.getElementById('target').style.marginTop = '-100px';
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="runRepaintAndPixelTest();"> 17 <body onload="runRepaintAndPixelTest();">
18 <div style="position:absolute; height:100px; width:100px;background-color:re d"></div> 18 <div style="position:absolute; height:100px; width:100px;background-color:re d"></div>
19 <div style="padding-top:100px"></div> 19 <div style="padding-top:100px"></div>
20 <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div> 20 <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div>
21 </div> 21 </div>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698