Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / css / font-face-crash.html
blobfbbd5e647fad8bd054a62eb5d74a02085cd694cf
1 <html>
2 <style>
3 @font-face {
4 font-family: test;
5 src: url(../custom/resources/ABCFont.svg) format("svg");
7 </style>
8 <style>
9 body {
10 font-family: test;
11 text-rendering: optimizelegibility;
13 </style>
14 <script>
15 window.onload = function() {
16 if (window.testRunner) {
17 testRunner.waitUntilDone();
18 testRunner.dumpAsText();
21 setTimeout(function () {
22 if (window.eventSender) {
23 eventSender.mouseMoveTo(10, 10);
24 eventSender.mouseDown();
25 eventSender.mouseMoveTo(100, 10);
26 eventSender.mouseUp();
28 if (window.testRunner) {
29 testRunner.notifyDone();
31 }, 10);
33 </script>
34 <body>
35 <div id="output_div">
36 <p id="text_in_svg_font">This test passes if selecting the text does not crash.</p>
37 </div>
38 </body>
39 </html>