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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/table-section-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-section-overflow.html -->
1 <html> 2 <html>
2 <head> 3 <head>
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
5 <script type="text/javascript"> 6 <script type="text/javascript">
6 function repaintTest() 7 window.expectedPaintInvalidationObjects = [
8 "LayoutBlockFlow DIV id='spacer'",
9 "LayoutTable TABLE",
10 "LayoutTableSection TBODY",
11 "LayoutTableRow TR",
12 "LayoutTableCell TD",
13 "LayoutBlockFlow DIV",
14 "LayoutBlockFlow DIV",
15 ];
16 function paintInvalidationTest()
7 { 17 {
8 document.getElementById("spacer").style.height = "50px"; 18 document.getElementById("spacer").style.height = "50px";
9 } 19 }
10 </script> 20 </script>
11 </head> 21 </head>
12 <body onload="runRepaintTest()"> 22 <body onload="runPaintInvalidationTest()">
13 <div id="spacer" style="width: 0;"></div> 23 <div id="spacer" style="width: 0;"></div>
14 <table cellpadding="0" cellspacing="0" style="margin-left: 50px;"> 24 <table cellpadding="0" cellspacing="0" style="margin-left: 50px;">
15 <tr> 25 <tr>
16 <td> 26 <td>
17 <div style="width: 50px;"> 27 <div style="width: 50px;">
18 <div style="background-color: green; width: 100px; height: 1 00px; margin-left: -25px;"></div> 28 <div style="background-color: green; width: 100px; height: 1 00px; margin-left: -25px;"></div>
19 </div> 29 </div>
20 </td> 30 </td>
21 </tr> 31 </tr>
22 </table> 32 </table>
23 </body> 33 </body>
24 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698