adele | ddfe27f | 2007-01-05 23:03:50 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> |
mitz@apple.com | fdf7662 | 2009-05-18 00:31:45 +0000 | [diff] [blame] | 4 | <script src="resources/repaint.js" type="text/javascript"></script> |
adele | ddfe27f | 2007-01-05 23:03:50 +0000 | [diff] [blame] | 5 | <script type="text/javascript"> |
| 6 | function repaintTest() |
| 7 | { |
| 8 | document.getElementById("spacer").style.height = "50px"; |
| 9 | } |
| 10 | </script> |
| 11 | </head> |
| 12 | <body onload="runRepaintTest()"> |
| 13 | <div id="spacer" style="width: 0;"></div> |
| 14 | <table cellpadding="0" cellspacing="0" style="margin-left: 50px;"> |
| 15 | <tr> |
| 16 | <td> |
| 17 | <div style="width: 50px;"> |
| 18 | <div style="background-color: green; width: 100px; height: 100px; margin-left: -25px;"></div> |
| 19 | </div> |
| 20 | </td> |
| 21 | </tr> |
| 22 | </table> |
| 23 | </body> |
| 24 | </html> |