| OLD | NEW |
| 1 <style> | 1 <style> |
| 2 @font-face { | 2 @font-face { |
| 3 font-family: custom; | 3 font-family: custom; |
| 4 src: url(no-such-file.ttf); | 4 src: url(no-such-file.ttf); |
| 5 } | 5 } |
| 6 </style> | 6 </style> |
| 7 <!-- content: counter(page) causes the style diff to be "detach" --> | 7 <!-- content: counter(page) causes the style diff to be "detach" --> |
| 8 <div style="font-family: custom; content: counter(page);"> | 8 <div style="font-family: custom; content: counter(page);"> |
| 9 <br>PASS | 9 <br>PASS |
| 10 </div> | 10 </div> |
| 11 <script> | 11 <script> |
| 12 if (window.layoutTestController) { | 12 if (window.layoutTestController) { |
| 13 layoutTestController.dumpAsText(); | 13 layoutTestController.dumpAsText(); |
| 14 layoutTestController.waitUntilDone(); | 14 layoutTestController.waitUntilDone(); |
| 15 // Must wait for the font to fail to load. | 15 // Must wait for the font to fail to load. |
| 16 setTimeout(function() { layoutTestController.notifyDone() }, 100); | 16 setTimeout(function() { layoutTestController.notifyDone() }, 100); |
| 17 } | 17 } |
| 18 | 18 |
| 19 document.execCommand("SelectAll"); | 19 document.execCommand("SelectAll"); |
| 20 </script> | 20 </script> |
| OLD | NEW |