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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/table-two-pass-layout-overpaint.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 <!-- Based on fast/repaint/table-two-pass-layout-overpaint.html -->
1 <html> 2 <html>
2 <head> 3 <head>
3 <style> 4 <style>
4 table { background-color: lightblue; height: 100px; } 5 table { background-color: lightblue; height: 100px; }
5 td { width: 100px; height: 50px; } 6 td { width: 100px; height: 50px; }
6 div#target { height: 25px; background-color: lightgreen; } 7 div#target { height: 25px; background-color: lightgreen; }
7 </style> 8 </style>
8 <script src="resources/text-based-repaint.js"></script> 9 <script src="resources/paint-invalidation-test.js"></script>
9 <script> 10 <script>
10 function repaintTest() 11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow DIV id='target'",
13 ];
14 function paintInvalidationTest()
11 { 15 {
12 document.getElementById("target").style.width = "50px"; 16 document.getElementById("target").style.width = "50px";
13 } 17 }
14 </script> 18 </script>
15 </head> 19 </head>
16 <body onload="runRepaintTest()"> 20 <body onload="runPaintInvalidationTest()">
17 <table> 21 <table>
18 <tr> 22 <tr>
19 <td> 23 <td>
20 <div id="target"></div> 24 <div id="target"></div>
21 </td> 25 </td>
22 </tr> 26 </tr>
23 </table> 27 </table>
24 </body> 28 </body>
25 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698