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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/input-select-after-resize.html

Issue 2333353002: Don't set view_screen_rect_ on RequestMove ACK (Closed)
Patch Set: Rebase Created 4 years, 2 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/picker-common.js"></script>
3 <select>
4 <option value="1" selected></option>
5 <option value="2"></option>
6 </select>
7 <script>
8 addEventListener('load', function() {
9 // This test passes if the menu dropdown is drawn attached to the
10 // <select> box. This is a test for crbug.com/638671.
11 if (window.testRunner) {
12 testRunner.waitUntilDone();
13 testRunner.dumpAsTextWithPixelResults();
14 }
15
16 window.moveBy(400, 400);
17 window.resizeBy(2000, 2000);
18
19 // Wait a frame so that the move has a chance to be ack'd by the
20 // browser.
21 window.requestAnimationFrame(function() {
22 var select = document.getElementsByTagName('select')[0];
23 select.focus();
24 eventSender.keyDown("ArrowDown", ["altKey"]);
25 testRunner.notifyDone();
26 });
27 });
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698