Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / webfont / webfont-cors.html
blobea3dfac61bbc144a9145625b910bc23e8203df70
1 <!DOCTYPE html>
2 <style>
3 @font-face {
4 font-family: corsOK;
5 src: url(http://127.0.0.1:8080/css/resources/cors-ahem.php);
7 @font-face {
8 font-family: corsNG;
9 src: url(http://127.0.0.1:8080/resources/Ahem.ttf);
11 @font-face {
12 font-family: redirectCorsNG;
13 src: url(/resources/redirect.php?url=http://127.0.0.1:8080/resources/Ahem.ttf);
15 </style>
16 <div style="font-family: corsOK;">
17 This text should be rendered with ahem font.
18 </div>
19 <div style="font-family: corsNG;">
20 This text should NOT be rendered with ahem font.
21 </div>
22 <div style="font-family: redirectCorsNG;">
23 This text should NOT be rendered with ahem font.
24 </div>
25 <script>
26 if (window.testRunner)
27 testRunner.waitUntilDone();
29 document.fonts.ready.then(function() {
30 if (window.testRunner)
31 testRunner.notifyDone();
32 });
33 </script>