| Index: third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html b/third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
|
| similarity index 53%
|
| copy from third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html
|
| copy to third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
|
| index ecd67c26b631a8cb9061a3cb21c76d8b418a79db..727f824169b84d744063df37b30050b7ce08f808 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
|
| @@ -11,38 +11,25 @@
|
| window.matchMedia('screen and (min-resolution: 2dppx)').
|
| addListener(function(e) {
|
| if (e.matches) {
|
| - openMenu();
|
| + doOpenPopup();
|
| }
|
| });
|
| -
|
| - function openMenu() {
|
| - openPicker(menu, done, function () {
|
| + function doOpenPopup() {
|
| + openPicker(document.getElementById('date'),
|
| + finishJSTest,
|
| + function () {
|
| testFailed('picker didn\'t open')
|
| finishJSTest();
|
| });
|
| }
|
| - function done() {
|
| - finishJSTest();
|
| - }
|
| </script>
|
| <script src="../../resources/js-test.js"></script>
|
| <script src="../forms/resources/picker-common.js"></script>
|
| +<script src="../forms/calendar-picker/resources/calendar-picker-common.js"></script>
|
| </head>
|
| <body onLoad="startTest()">
|
| -<p>The font size in the popup should be same as the font size of the SELECT element except the third OPTION.</p>
|
| -<select id="menu">
|
| - <option>foo</option>
|
| - <option selected>bar</option>
|
| - <option hidden>qux</option>
|
| - <option>baz</option>
|
| - <optgroup label="Group">
|
| - <option>foo</option>
|
| - <option>bar</option>
|
| - </optgroup>
|
| -</select>
|
| +<input type=date id=date value="10000-12-31"> </input>
|
| <p id="description" style="opacity: 0"></p>
|
| -select<sediv id="console" style="opacity: 0"></div>
|
| -<script>
|
| -</script>
|
| +<div id="console" style="opacity: 0"></div>
|
| </body>
|
| </html>
|
|
|