| 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 #textarea { | 6 #textarea { |
| 6 font-family: Ahem; | 7 font-family: Ahem; |
| 7 font-size: 16px; | 8 font-size: 16px; |
| 8 color: rgba(0, 0, 0, 0.2); | 9 color: rgba(0, 0, 0, 0.2); |
| 9 -webkit-font-smoothing: none; | 10 -webkit-font-smoothing: none; |
| 10 } | 11 } |
| 11 </style> | 12 </style> |
| 12 </head> | 13 </head> |
| 13 <body> | 14 <body> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 42 if (target.value == "Hello world test") | 43 if (target.value == "Hello world test") |
| 43 document.write("PASS: Smart cutting and pasting result in the original t
ext."); | 44 document.write("PASS: Smart cutting and pasting result in the original t
ext."); |
| 44 else | 45 else |
| 45 document.write("FAIL: Smart cutting and pasting do not result in the ori
ginal text."); | 46 document.write("FAIL: Smart cutting and pasting do not result in the ori
ginal text."); |
| 46 } else { | 47 } else { |
| 47 document.write("This test can't run automatically in web browser without eve
ntSender."); | 48 document.write("This test can't run automatically in web browser without eve
ntSender."); |
| 48 } | 49 } |
| 49 </script> | 50 </script> |
| 50 </body> | 51 </body> |
| 51 </html> | 52 </html> |
| OLD | NEW |