5 src: url(http://
127.0.0.1:
8080/css/resources/cors-ahem.php);
9 src: url(http://
127.0.0.1:
8080/resources/Ahem.ttf);
12 font-family: redirectCorsNG;
13 src: url(/resources/redirect.php?url=http://
127.0.0.1:
8080/resources/Ahem.ttf);
16 <div style=
"font-family: corsOK;">
17 This text should be rendered with ahem font.
19 <div style=
"font-family: corsNG;">
20 This text should NOT be rendered with ahem font.
22 <div style=
"font-family: redirectCorsNG;">
23 This text should NOT be rendered with ahem font.
26 if (window
.testRunner
)
27 testRunner
.waitUntilDone();
29 document
.fonts
.ready
.then(function() {
30 if (window
.testRunner
)
31 testRunner
.notifyDone();