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

Side by Side Diff: LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html

Issue 1159833003: New SELECT Popup: Recalc style when a web font is loaded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698