Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-unused-source-loaded.html
blobec3e5581b56e6aedce8e359641f2d4776094f909
1 <style>
2 @font-face {
3 font-family: url-only;
4 src: url(../../resources/Ahem.ttf);
7 @font-face {
8 font-family: local-and-url;
9 src: local(Arial), url(../../resources/Ahem.ttf);
11 </style>
12 <body onload="document.body.offsetTop">
13 <p>
14 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=32257">https://bugs.webkit.org/show_bug.cgi?id=32257</a>
15 Safari/Chromium crashes on complicated @font-face rule</i>.
16 </p>
17 <p>
18 The test passes if it does not crash.
19 </p>
20 <div style="font-family: url-only">
21 Ahem
22 </div>
23 <div style="font-family: local-and-url">
24 Arial
25 </div>
26 <script>
27 if (window.testRunner)
28 testRunner.dumpAsText();
30 // Force layout now to kick off font loading before the load even fires.
31 document.body.offsetTop;
32 </script>
33 </body>