| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <style> | 4 <style> |
| 5 @font-face { | 5 @font-face { |
| 6 font-family: 'ahem'; | 6 font-family: 'ahem'; |
| 7 src: url(../../resources/Ahem.ttf); | 7 src: url(../../resources/Ahem.ttf); |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 <script> | 10 <script> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 if (document.fonts) | 35 if (document.fonts) |
| 36 runTests(); | 36 runTests(); |
| 37 else { | 37 else { |
| 38 testFailed('document.fonts does not exist'); | 38 testFailed('document.fonts does not exist'); |
| 39 finishJSTest(); | 39 finishJSTest(); |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 </head> | 42 </head> |
| 43 <body> | 43 <body> |
| 44 <div style="font-family: ahem">Hello, world!</div> | 44 <div style="font-family: ahem">Hello, world!</div> |
| 45 <script src="../js/resources/js-test-post.js"></script> | |
| 46 </body> | 45 </body> |
| 47 </html> | 46 </html> |
| OLD | NEW |