| Index: third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2-with-zoom.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html b/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2-with-zoom.html
|
| similarity index 79%
|
| copy from third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html
|
| copy to third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2-with-zoom.html
|
| index ecd67c26b631a8cb9061a3cb21c76d8b418a79db..036c53f521eac598a0c4de85dee10ced5abbeac8 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/popup-menu-appearance-dsf2-with-zoom.html
|
| @@ -5,7 +5,9 @@
|
| window.enablePixelTesting = true;
|
| function startTest() {
|
| if (window.testRunner) {
|
| - testRunner.setBackingScaleFactor(2.0, function() {});
|
| + testRunner.enableUseZoomForDSF(function() {
|
| + testRunner.setBackingScaleFactor(2.0, function() {});
|
| + });
|
| }
|
| }
|
| window.matchMedia('screen and (min-resolution: 2dppx)').
|
| @@ -14,16 +16,12 @@
|
| openMenu();
|
| }
|
| });
|
| -
|
| function openMenu() {
|
| - openPicker(menu, done, function () {
|
| + openPicker(document.getElementById('menu'), 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>
|
| @@ -41,8 +39,6 @@
|
| </optgroup>
|
| </select>
|
| <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>
|
|
|