OLD | NEW |
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 { |
(...skipping 12 matching lines...) Expand all Loading... |
23 function repaintTest() | 23 function repaintTest() |
24 { | 24 { |
25 var container = document.getElementById('container'); | 25 var container = document.getElementById('container'); |
26 var table = document.getElementById('table'); | 26 var table = document.getElementById('table'); |
27 var newTable = table.cloneNode(true); | 27 var newTable = table.cloneNode(true); |
28 newTable.className = "green"; | 28 newTable.className = "green"; |
29 container.replaceChild(newTable, table); | 29 container.replaceChild(newTable, table); |
30 } | 30 } |
31 </script> | 31 </script> |
32 </head> | 32 </head> |
33 <body onload="runRepaintTest();"> | 33 <body onload="runRepaintAndPixelTest();"> |
34 <div id="container" style="width: 500px;"> | 34 <div id="container" style="width: 500px;"> |
35 <table id="table"> | 35 <table id="table"> |
36 <tr> | 36 <tr> |
37 <td></td> | 37 <td></td> |
38 </tr> | 38 </tr> |
39 <tr> | 39 <tr> |
40 <td></td> | 40 <td></td> |
41 </tr> | 41 </tr> |
42 </table> | 42 </table> |
43 </div> | 43 </div> |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |