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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/select/input-select-after-resize.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/input-select-after-resize.html b/third_party/WebKit/LayoutTests/fast/forms/select/input-select-after-resize.html
new file mode 100644
index 0000000000000000000000000000000000000000..94e7831dfe649dff4ca0dd20cfa190c1d3610461
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/select/input-select-after-resize.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<script src="../resources/picker-common.js"></script>
+<select>
+ <option value="1" selected></option>
+ <option value="2"></option>
+</select>
+<script>
+ addEventListener('load', function() {
+ // This test passes if the menu dropdown is drawn attached to the
+ // <select> box. This is a test for crbug.com/638671.
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsTextWithPixelResults();
+ }
+
+ window.moveBy(400, 400);
+ window.resizeBy(2000, 2000);
+
+ // Wait a frame so that the move has a chance to be ack'd by the
+ // browser.
+ window.requestAnimationFrame(function() {
+ var select = document.getElementsByTagName('select')[0];
+ select.focus();
+ eventSender.keyDown("ArrowDown", ["altKey"]);
+ testRunner.notifyDone();
+ });
+ });
+</script>

Powered by Google App Engine
This is Rietveld 408576698