| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| "http://www.w3.org/TR/html4/strict.dtd"> |
| <html lang="en"> |
| <head> |
| <style type="text/css"> |
| div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10px; } |
| </style> |
| <script src="resources/repaint.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| function repaintTest() |
| { |
| document.getElementById('stacked').innerText = ""; |
| } |
| </script> |
| </head> |
| <body onload="runRepaintTest();"> |
| <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6274"> Bugzilla bug 6274</a>Text repainting does not account for glyphs which draw outside the typographic bounds of the font.</p> |
| |
| <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> |
| The text will entirely disappear. |
| </p> |
| |
| <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> |
| Most of the text will be gone, but some artifacts will be left behind at the top of the page. |
| </p> |
| |
| <div class="test"> |
| <div style="font-size: 36px;" id="stacked">ẦẤẪẨẰ</div> |
| </div> |
| <br> |
| |
| </body> |
| </html> |