Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / table-outer-border.html
blobbafdb2f6335a7152e59c42fdc55ec41b62ae14a1
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12817</title>
5 <style type="text/css" media="all">
6 table {
7 border-collapse: collapse;
10 table td {
11 border: 15px solid red;
12 background-color: green;
13 height: 50px;
14 width: 100px;
17 table.green td {
18 border-color: green;
20 </style>
21 <script src="resources/text-based-repaint.js"></script>
22 <script>
23 function repaintTest()
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);
31 </script>
32 </head>
33 <body onload="runRepaintTest();">
34 <div id="container" style="width: 500px;">
35 <table id="table">
36 <tr>
37 <td></td>
38 </tr>
39 <tr>
40 <td></td>
41 </tr>
42 </table>
43 </div>
44 </body>
45 </html>