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

Side by Side Diff: LayoutTests/fast/css/font-face-download-error.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for Bug 42342 - Font download error for an @font-face rule invalidat es other @font-face rules for the same font-family</title> 4 <title>Test for Bug 42342 - Font download error for an @font-face rule invalidat es other @font-face rules for the same font-family</title>
5 <style> 5 <style>
6 .test { 6 .test {
7 font-family: Times; 7 font-family: Times;
8 border: solid 1px; 8 border: solid 1px;
9 } 9 }
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 font-family:myfont_3; 46 font-family:myfont_3;
47 src: local('Courier'), local('Courier New'); 47 src: local('Courier'), local('Courier New');
48 } 48 }
49 @font-face { 49 @font-face {
50 font-family:myfont_3; 50 font-family:myfont_3;
51 src: url('resources/DownLoadErrorAhem.otf'), local(Arial); 51 src: url('resources/DownLoadErrorAhem.otf'), local(Arial);
52 unicode-range: u+69; /* 'i' */ 52 unicode-range: u+69; /* 'i' */
53 } 53 }
54 54
55 </style> 55 </style>
56 <script src="../js/resources/js-test-pre.js"></script> 56 <script src="../../resources/js-test.js"></script>
57 </head> 57 </head>
58 <body onload="runTest()"> 58 <body onload="runTest()">
59 <div id="description"></div> 59 <div id="description"></div>
60 <div id="tests"></div> 60 <div id="tests"></div>
61 61
62 <div id="console"></div> 62 <div id="console"></div>
63 <div id="out"></div> 63 <div id="out"></div>
64 <script> 64 <script>
65 if (window.testRunner) 65 if (window.testRunner)
66 window.testRunner.waitUntilDone(); 66 window.testRunner.waitUntilDone();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // We need to run tests after the font downloading succeeded or failed. 126 // We need to run tests after the font downloading succeeded or failed.
127 // Using a timer is not ideal, but there seems to be no better options. 127 // Using a timer is not ideal, but there seems to be no better options.
128 function runTest() 128 function runTest()
129 { 129 {
130 window.setTimeout(test, 200); 130 window.setTimeout(test, 200);
131 } 131 }
132 </script> 132 </script>
133 </body> 133 </body>
134 </html> 134 </html>
135 135
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698