OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <script> | |
4 window.enablePixelTesting = true; | |
5 </script> | |
6 <script src="../../js-test-resources/js-test.js"></script> | |
7 <script src="../../forms-test-resources/picker-common.js"></script> | |
8 <style> | |
9 @font-face { | |
tkent
2015/05/29 05:41:02
Indentation in this <style> is inconsistent.
keishi
2015/05/29 07:30:51
Done.
| |
10 font-family: 'TestFont'; | |
11 src: url(slow-ahem-loading.cgi); | |
12 } | |
13 option { | |
14 font-family: TestFont; | |
15 } | |
16 </style> | |
17 <select id="menu"> | |
18 <option>foo</option> | |
19 <option>bar</option> | |
20 </select> | |
21 <script> | |
22 description('Test for FontFaceSet.status attribute'); | |
tkent
2015/05/29 05:41:02
Update the description
keishi
2015/05/29 07:30:51
Done.
| |
23 | |
24 document.fonts.ready.then(onFontsReady); | |
25 | |
26 openPicker(menu, function() {}, function () { | |
27 testFailed('picker didn\'t open') | |
28 finishJSTest(); | |
29 }); | |
30 | |
31 function onFontsReady() { | |
32 finishJSTest(); | |
33 } | |
34 </script> | |
35 </head> | |
36 <body> | |
37 </body> | |
38 </html> | |
OLD | NEW |