| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 "http://www.w3.org/TR/html4/strict.dtd"> | 2 "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 <html lang="en"> | 3 <html lang="en"> |
| 4 <head> | 4 <head> |
| 5 <script src="resources/text-based-repaint.js"></script> | 5 <script src="resources/text-based-repaint.js"></script> |
| 6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
| 7 function finish() | 7 function repaintTest() |
| 8 { | 8 { |
| 9 document.getElementById('allcontent').style.overflow = ''; | 9 document.getElementById('allcontent').style.overflow = ''; |
| 10 | |
| 11 if (window.testRunner) | |
| 12 testRunner.notifyDone(); | |
| 13 } | |
| 14 | |
| 15 function repaintTest() | |
| 16 { | |
| 17 if (window.testRunner) | |
| 18 testRunner.waitUntilDone(); | |
| 19 | |
| 20 window.setTimeout(finish, 1); | |
| 21 } | 10 } |
| 22 </script> | 11 </script> |
| 23 </head> | 12 </head> |
| 24 <body onload="runRepaintTest()"> | 13 <body onload="runRepaintTest()"> |
| 25 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6473">Bugzill
a bug 6473</a> REGRESSION: Serious painting problems on new iLife and iWorks pag
es</p> | 14 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6473">Bugzill
a bug 6473</a> REGRESSION: Serious painting problems on new iLife and iWorks pag
es</p> |
| 26 | 15 |
| 27 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> | 16 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> |
| 28 A green rectangle containing the word SUCCESS will show below. | 17 A green rectangle containing the word SUCCESS will show below. |
| 29 </p> | 18 </p> |
| 30 | 19 |
| 31 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
| 20 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
|
| 32 A green rectangle will not show below. | 21 A green rectangle will not show below. |
| 33 </p> | 22 </p> |
| 34 <div> | 23 <div> |
| 35 <div id="allcontent" style="overflow: auto;"> | 24 <div id="allcontent" style="overflow: auto;"> |
| 36 <p style="position: relative; background: lime;"> | 25 <p style="position: relative; background: lime;"> |
| 37 SUCCESS | 26 SUCCESS |
| 38 </p> | 27 </p> |
| 39 </div> | 28 </div> |
| 40 </div> | 29 </div> |
| 41 </body> | 30 </body> |
| 42 </html> | 31 </html> |
| OLD | NEW |