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 <style type="text/css"> | 5 <style type="text/css"> |
6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10p
x; } | 6 div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10p
x; } |
7 </style> | 7 </style> |
8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 8 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
9 <script type="text/javascript"> | 9 <script type="text/javascript"> |
10 function repaintTest() | 10 function repaintTest() |
11 { | 11 { |
12 document.getElementById('stacked').innerText = ""; | 12 document.getElementById('stacked').innerText = ""; |
13 } | 13 } |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body onload="runRepaintTest();"> | 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> | 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 | 18 |
19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> | 19 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> |
20 The text will entirely disappear. | 20 The text will entirely disappear. |
21 </p> | 21 </p> |
22 | 22 |
23 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
| 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. | 24 Most of the text will be gone, but some artifacts will be left behind at the top
of the page. |
25 </p> | 25 </p> |
26 | 26 |
27 <div class="test"> | 27 <div class="test"> |
28 <div style="font-size: 36px;" id="stacked">ẦẤẪẨ&
#x1EB0;</div> | 28 <div style="font-size: 36px;" id="stacked">ẦẤẪẨ&
#x1EB0;</div> |
29 </div> | 29 </div> |
30 <br> | 30 <br> |
31 | 31 |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |