Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <svg width="200" height="100"> | |
| 3 <style> | |
| 4 @font-face { | |
| 5 font-family: MyFont; | |
| 6 src: url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); | |
| 7 } | |
| 8 </style> | |
| 9 <text font-family="MyFont" font-size="50" x="0 100" y="50">𑀏<tspan>&#x 1100F;</tspan></text> | |
| 10 <script> | |
| 11 document.body.offsetLeft; // Kick off loading @font-face | |
|
pdr.
2016/04/06 18:10:57
Is the test really flaky without this? I know we h
fs
2016/04/06 18:21:14
I guess this was a "better safe than sorry" from m
| |
| 12 if (window.testRunner) { | |
| 13 testRunner.waitUntilDone(); | |
| 14 document.body.onload = function () { testRunner.notifyDone(); }; | |
| 15 } | |
| 16 </script> | |
| 17 </svg> | |
| OLD | NEW |