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

Side by Side Diff: LayoutTests/platform/mac/fast/forms/select/menulist-click.html

Issue 118453006: Mac: Send a synthetic mouseup event when <select> popup menu is opened. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/platform/mac/fast/forms/select/menulist-click-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <script src="../../../../../resources/js-test.js"></script>
4 <script src="../../../../../fast/forms/resources/common.js"></script>
5 <select>
6 <option>option 1</option>
7 <option>option 2</option>
8 </select>
9 <script>
10
11 var clickEventCounter = 0;
12 var select = document.querySelector('select');
13 select.addEventListener('click', function() { clickEventCounter++; }, false);
14 hoverOverElement(select);
15 eventSender.mouseDown();
16 setTimeout(function() {
17 select.blur();
18 description('Check if mosuedown without mouseup on a SELECT element dispatch es a click event.');
19 shouldBe('clickEventCounter', '1');
20 finishJSTest();
21 }, 1);
22 jsTestIsAsync = true;
23 </script>
24 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/platform/mac/fast/forms/select/menulist-click-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698