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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/intermediate-layout-position.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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=10522</title> 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=10522</title>
4 <style type="text/css"> 4 <style type="text/css">
5 .float { float: right; height: 40px; width: 40px; } 5 .float { float: right; height: 40px; width: 40px; }
6 .test { height: 100px; background-color: aliceblue } 6 .test { height: 100px; background-color: aliceblue }
7 </style> 7 </style>
8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function repaintTest() 10 function repaintTest()
11 { 11 {
12 document.getElementById('target').style.height='20px'; 12 document.getElementById('target').style.height='20px';
13 document.getElementById('cell').style.height='20px'; 13 document.getElementById('cell').style.height='20px';
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="runRepaintTest()"> 17 <body onload="runRepaintAndPixelTest()">
18 <div class="test"> 18 <div class="test">
19 <div class="float"></div> 19 <div class="float"></div>
20 <div style="clear: right; background-color: purple; width: 40px; padding : 3px;"> 20 <div style="clear: right; background-color: purple; width: 40px; padding : 3px;">
21 <div style="height: 40px; width: 0;" id="target"> 21 <div style="height: 40px; width: 0;" id="target">
22 </div> 22 </div>
23 </div> 23 </div>
24 </div> 24 </div>
25 25
26 <div class="test"> 26 <div class="test">
27 <div class="float"></div> 27 <div class="float"></div>
28 <table style="clear: both; background-color: purple;"> 28 <table style="clear: both; background-color: purple;">
29 <tr> 29 <tr>
30 <td id="cell" style="height: 40px; width: 40px;"> 30 <td id="cell" style="height: 40px; width: 40px;">
31 </td> 31 </td>
32 </tr> 32 </tr>
33 </table> 33 </table>
34 </div> 34 </div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698