OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 "http:/html4/strict.dtd"> |
| 3 <html lang="en"> |
| 4 <head> |
| 5 <style type="text/css"> |
| 6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10p
x; } |
| 7 </style> |
| 8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
| 9 <script type="text/javascript"> |
| 10 function repaintTest() |
| 11 { |
| 12 document.getElementById('stacked').innerText = ""; |
| 13 } |
| 14 </script> |
| 15 </head> |
| 16 <body onload="runRepaintAndPixelTest();"> |
| 17 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6274"> Bugzil
la bug 6274</a>Text repainting does not account for glyphs which draw outside th
e typographic bounds of the font.</p> |
| 18 |
| 19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> |
| 20 The text will entirely disappear. |
| 21 </p> |
| 22 |
| 23 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
|
| 24 Most of the text will be gone, but some artifacts will be left behind at the top
of the page. |
| 25 </p> |
| 26 |
| 27 <div class="test"> |
| 28 <div style="font-size: 36px;" id="stacked">ẦẤẪẨ&
#x1EB0;</div> |
| 29 </div> |
| 30 <br> |
| 31 |
| 32 </body> |
| 33 </html> |
OLD | NEW |