| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=14056</title> | 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=14056</title> |
| 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | |
| 5 <script type="text/javascript"> | |
| 6 function repaintTest() | |
| 7 { | |
| 8 var div = document.getElementById("target"); | |
| 9 div.className = "green"; | |
| 10 } | |
| 11 </script> | |
| 12 <style> | 4 <style> |
| 13 tr { | 5 tr { |
| 14 background-color: red; | 6 background-color: green; |
| 15 } | 7 } |
| 16 | 8 |
| 17 td { | 9 td { |
| 18 width: 100px; | 10 width: 100px; |
| 19 height: 100px; | 11 height: 100px; |
| 20 } | 12 } |
| 21 | 13 |
| 22 .green { | 14 .green { |
| 23 background-color:green; | 15 background-color:green; |
| 24 min-height: 500px; | 16 min-height: 500px; |
| 25 } | 17 } |
| 26 </style> | 18 </style> |
| 27 </head> | 19 </head> |
| 28 <body onload="runRepaintTest()"> | 20 <body> |
| 29 <table> | 21 <table> |
| 30 <tr id="target"> | 22 <tr id="target"> |
| 31 <td> | 23 <td> |
| 32 </td> | 24 </td> |
| 33 </tr> | 25 </tr> |
| 34 </table> | 26 </table> |
| 35 </body> | 27 </body> |
| 36 </html> | 28 </html> |
| OLD | NEW |