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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/table-cell-overflow.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-cell-overflow.html -->
1 <head> 2 <head>
2 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
3 <script> 4 <script>
4 function repaintTest() 5 window.expectedPaintInvalidationObjects = [
6 "LayoutBlockFlow DIV id='target'",
7 ];
8 function paintInvalidationTest()
5 { 9 {
6 document.getElementById("target").style.backgroundColor = "transparent"; 10 document.getElementById("target").style.backgroundColor = "transparent";
7 } 11 }
8 </script> 12 </script>
9 </head> 13 </head>
10 <body onload="runRepaintTest();"> 14 <body onload="runPaintInvalidationTest();">
11 <table cellpadding=1 cellspacing=0> 15 <table cellpadding=1 cellspacing=0>
12 <tr> 16 <tr>
13 <td> 17 <td>
14 <div style="width: 100px;"> 18 <div style="width: 100px;">
15 <div style="width: 100px; height: 100px; background-color: blue; margin-left: 50px;"></div> 19 <div style="width: 100px; height: 100px; background-color: blue; margin-left: 50px;"></div>
16 </div> 20 </div>
17 </td> 21 </td>
18 <td> 22 <td>
19 <div style="width: 100px; height: 100px; background-color: red;" id= "target"></div> 23 <div style="width: 100px; height: 100px; background-color: red;" id= "target"></div>
20 </td> 24 </td>
21 </tr> 25 </tr>
22 </table> 26 </table>
23 </body> 27 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698