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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/table-outer-border-expected.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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12817</title> 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12817</title>
5 <style type="text/css" media="all"> 5 <style type="text/css" media="all">
6 table { 6 table {
7 border-collapse: collapse; 7 border-collapse: collapse;
8 } 8 }
9 9
10 table td { 10 table td {
11 border: 15px solid red; 11 border: 15px solid green;
12 background-color: green; 12 background-color: green;
13 height: 50px; 13 height: 50px;
14 width: 100px; 14 width: 100px;
15 } 15 }
16
17 table.green td {
18 border-color: green;
19 }
20 </style> 16 </style>
21 <script src="resources/text-based-repaint.js"></script>
22 <script>
23 function repaintTest()
24 {
25 var container = document.getElementById('container');
26 var table = document.getElementById('table');
27 var newTable = table.cloneNode(true);
28 newTable.className = "green";
29 container.replaceChild(newTable, table);
30 }
31 </script>
32 </head> 17 </head>
33 <body onload="runRepaintTest();"> 18 <body">
34 <div id="container" style="width: 500px;"> 19 <div id="container" style="width: 500px;">
35 <table id="table"> 20 <table id="table">
36 <tr> 21 <tr>
37 <td></td> 22 <td></td>
38 </tr> 23 </tr>
39 <tr> 24 <tr>
40 <td></td> 25 <td></td>
41 </tr> 26 </tr>
42 </table> 27 </table>
43 </div> 28 </div>
44 </body> 29 </body>
45 </html> 30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/paint/invalidation/spv2/table-outer-border.html ('k') | LayoutTests/paint/invalidation/spv2/table-row.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698