Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: LayoutTests/http/tests/webfont/webfont-cors.html

Issue 316353003: Remove font fetching fallback for CORS failures (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add/Update tests Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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);
6 }
7 @font-face {
8 font-family: corsNG;
9 src: url(http://127.0.0.1:8080/resources/Ahem.ttf);
10 }
11 </style>
12 <div style="font-family: corsOK;">
13 This text should be rendered with ahem font.
14 </div>
15 <div style="font-family: corsNG;">
16 This text should NOT be rendered with ahem font.
17 </div>
18 <script>
19 if (window.testRunner)
20 testRunner.waitUntilDone();
21
22 document.fonts.ready().then(function() {
23 if (window.testRunner)
24 testRunner.notifyDone();
25 });
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698