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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/table-extra-bottom-grow.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-extra-bottom-grow.html -->
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 3 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 4 <html lang="en">
4 <head> 5 <head>
5 <script src="resources/text-based-repaint.js"></script> 6 <script src="resources/paint-invalidation-test.js"></script>
6 <script> 7 <script>
7 function repaintTest() 8 window.expectedPaintInvalidationObjects = [
9 ];
10 function paintInvalidationTest()
8 { 11 {
9 document.getElementById("t").style.height='100px'; 12 document.getElementById("t").style.height='100px';
10 } 13 }
11 </script> 14 </script>
12 </head> 15 </head>
13 <body onload="runRepaintTest();"> 16 <body onload="runPaintInvalidationTest();">
14 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6769">Bugzill a bug 6769</a> REGRESSION: Incomplete repaint when a cell's extra bottom margin grows</p> 17 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6769">Bugzill a bug 6769</a> REGRESSION: Incomplete repaint when a cell's extra bottom margin grows</p>
15 18
16 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b> 19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b>
17 There should be only a green square below, and no red. 20 There should be only a green square below, and no red.
18 </p> 21 </p>
19 22
20 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 23 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
21 The lower-right quarter of the square will be red. 24 The lower-right quarter of the square will be red.
22 </p> 25 </p>
23 26
24 <table style="background: green;" cellspacing="0" cellpadding="0"> 27 <table style="background: green;" cellspacing="0" cellpadding="0">
25 <tr> 28 <tr>
26 <td style="height: 100px; width: 50px;" rowspan="2"> 29 <td style="height: 100px; width: 50px;" rowspan="2">
27 </td> 30 </td>
28 <td style="width: 50px; vertical-align: top; background: green; height: 50px;" id="t"> 31 <td style="width: 50px; vertical-align: top; background: green; height: 50px;" id="t">
29 </td> 32 </td>
30 </tr> 33 </tr>
31 <tr> 34 <tr>
32 <td style="background: red;"></td> 35 <td style="background: red;"></td>
33 </tr> 36 </tr>
34 </table> 37 </table>
35 38
36 </body> 39 </body>
37 </html> 40 </html>
38 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698