Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / custom-font-data-crash2.html
blob1512296954e3f24e07e0c5a0f70abcf4fd494005
1 <!DOCTYPE html>
2 <html>
3 <style>
4 @font-face { font-family: A; src: url(); }
5 #y { font-family: A; }
6 #y:first-letter { content: "A"; }
7 </style>
8 <body>
9 <div id="y">EFGH</div>
10 </body>
11 <script>
12 function finish() {
13 document.body.innerHTML = "PASS";
14 if (window.testRunner)
15 testRunner.notifyDone();
18 if (window.testRunner) {
19 testRunner.dumpAsText();
20 testRunner.waitUntilDone();
23 document.designMode = 'on';
24 document.execCommand('selectall');
26 // Let the font load to finish.
27 setTimeout("finish()", 50);
28 </script>
29 <style>
30 #y:before { content: "ABCD"; }
31 </style>
32 </body>
33 </html>