Index: LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html |
diff --git a/LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html b/LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9a436167fc52368ca977ea3d2bbe0348543f225 |
--- /dev/null |
+++ b/LayoutTests/http/tests/webfont/popup-menu-load-webfont-after-open.html |
@@ -0,0 +1,38 @@ |
+<html> |
+<head> |
+<script> |
+window.enablePixelTesting = true; |
+</script> |
+<script src="../../js-test-resources/js-test.js"></script> |
+<script src="../../forms-test-resources/picker-common.js"></script> |
+<style> |
+ @font-face { |
tkent
2015/05/29 05:41:02
Indentation in this <style> is inconsistent.
keishi
2015/05/29 07:30:51
Done.
|
+ font-family: 'TestFont'; |
+ src: url(slow-ahem-loading.cgi); |
+ } |
+ option { |
+ font-family: TestFont; |
+ } |
+</style> |
+<select id="menu"> |
+ <option>foo</option> |
+ <option>bar</option> |
+</select> |
+<script> |
+description('Test for FontFaceSet.status attribute'); |
tkent
2015/05/29 05:41:02
Update the description
keishi
2015/05/29 07:30:51
Done.
|
+ |
+document.fonts.ready.then(onFontsReady); |
+ |
+openPicker(menu, function() {}, function () { |
+ testFailed('picker didn\'t open') |
+ finishJSTest(); |
+}); |
+ |
+function onFontsReady() { |
+ finishJSTest(); |
+} |
+</script> |
+</head> |
+<body> |
+</body> |
+</html> |