Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-data-uri-invalid.html
blob4e00ba5350f97ae6a23bb9c5fa4c928217130a22
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <style>
8 @font-face {
9 font-family: invalid-data;
10 src:url("data:font/ttf;base64,VGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250Lgo=");
12 </style>
13 </head>
14 <body>
15 <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=85089">85089: [Qt] ASSERT in FontCustomPlatformDataQt.cpp with invalid font in data URI</p>
16 <span style="font-family:invalid-data;">This tests for an ASSERT when using @font-face with invalid font data</span>
17 </body>
18 </html>