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

Unified Diff: LayoutTests/fast/forms/select/popup-menu-appearance.html

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/select/popup-menu-appearance.html
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-appearance-required.html b/LayoutTests/fast/forms/select/popup-menu-appearance.html
similarity index 51%
copy from LayoutTests/fast/forms/calendar-picker/calendar-picker-appearance-required.html
copy to LayoutTests/fast/forms/select/popup-menu-appearance.html
index 4b160b4ba0d30554ff0431a194d1e43ca0ee739c..184066b2fb84b4d8fc5085d83a786567de309a0e 100644
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-appearance-required.html
+++ b/LayoutTests/fast/forms/select/popup-menu-appearance.html
@@ -5,17 +5,20 @@
window.enablePixelTesting = true;
</script>
<script src="../../../resources/js-test.js"></script>
-<script src="../../forms/resources/picker-common.js"></script>
-<script src="resources/calendar-picker-common.js"></script>
+<script src="../resources/picker-common.js"></script>
</head>
<body>
-<input type=date id=date value="1800-12-31" required>
-
+<select id="menu">
+ <option>foo</option>
+ <option selected>bar</option>
+ <option>qux</option>
+ <option>baz</option>
+</select>
<p id="description" style="opacity: 0"></p>
<div id="console" style="opacity: 0"></div>
-
<script>
-openPicker(document.getElementById('date'), finishJSTest);
+var menu = document.getElementById('menu');
+openPicker(menu, finishJSTest);
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698