OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
| 4 <script src="../../resources/ahem.js"></script> |
4 <style> | 5 <style> |
5 #editable { | 6 #editable { |
6 font: 20px/1 Ahem; | 7 font: 20px/1 Ahem; |
7 width: 50px; | 8 width: 50px; |
8 height: 1em; | 9 height: 1em; |
9 margin-left: 500px; | 10 margin-left: 500px; |
10 margin-top: 200px; | 11 margin-top: 200px; |
11 background: green; | 12 background: green; |
12 text-indent: -150px; | 13 text-indent: -150px; |
13 outline: none; | 14 outline: none; |
14 } | 15 } |
15 </style> | 16 </style> |
16 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 17 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
17 <script type="text/javascript"> | 18 <script type="text/javascript"> |
18 function repaintTest() { | 19 function repaintTest() { |
19 document.getElementById('editable').focus(); | 20 document.getElementById('editable').focus(); |
20 } | 21 } |
21 </script> | 22 </script> |
22 </head> | 23 </head> |
23 <body onload="runRepaintAndPixelTest();"> | 24 <body onload="runRepaintAndPixelTest();"> |
24 <div id="editable" contenteditable="true"></div> | 25 <div id="editable" contenteditable="true"></div> |
25 </body> | 26 </body> |
26 </html> | 27 </html> |
OLD | NEW |