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

Side by Side Diff: LayoutTests/fast/css/font-face-descending-unicode-range.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 41339 - unicode-range property only with a descending range causes a crash</title> 4 <title>Test for Bug 41339 - unicode-range property only with a descending range causes a crash</title>
5 <style> 5 <style>
6 @font-face { 6 @font-face {
7 font-family: 'myfont'; 7 font-family: 'myfont';
8 src: local(Courier), local('Courier New'); /* Use monospace font */ 8 src: local(Courier), local('Courier New'); /* Use monospace font */
9 unicode-range: U+062-60; 9 unicode-range: U+062-60;
10 } 10 }
11 </style> 11 </style>
12 <script src="../js/resources/js-test-pre.js"></script> 12 <script src="../../resources/js-test.js"></script>
13 </head> 13 </head>
14 <body> 14 <body>
15 <div id="description"></div> 15 <div id="description"></div>
16 <div style="font-family: 'myfont'"> 16 <div style="font-family: 'myfont'">
17 <span id="i_s" style="border:solid 1px">iiiiiiiiii</span><br/> 17 <span id="i_s" style="border:solid 1px">iiiiiiiiii</span><br/>
18 <span id="x_s" style="border:solid 1px">XXXXXXXXXX</span><br/> 18 <span id="x_s" style="border:solid 1px">XXXXXXXXXX</span><br/>
19 </div> 19 </div>
20 <div id="console"></div> 20 <div id="console"></div>
21 <script> 21 <script>
22 description("Interval unicode-ranges that descend are invalid and omitted. Witho ut any valid ranges, the descriptor is omitted. As a result, the @font-face rule in this file is applied to all characters. This test passes if the following i' s and X's are shown in Courier and they have the same length on screen. As of r6 2096, opening this file causes a crash instead."); 22 description("Interval unicode-ranges that descend are invalid and omitted. Witho ut any valid ranges, the descriptor is omitted. As a result, the @font-face rule in this file is applied to all characters. This test passes if the following i' s and X's are shown in Courier and they have the same length on screen. As of r6 2096, opening this file causes a crash instead.");
23 23
24 shouldBe("document.getElementById('i_s').offsetWidth", "document.getElementById( 'x_s').offsetWidth"); 24 shouldBe("document.getElementById('i_s').offsetWidth", "document.getElementById( 'x_s').offsetWidth");
25 </script> 25 </script>
26 </body> 26 </body>
27 </html> 27 </html>
28 28
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/focus-display-block-inline.html ('k') | LayoutTests/fast/css/font-face-download-error.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698