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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/html/tooltip-close.html

Issue 1454363002: Close tooltip for |title| attribute on any keyboard event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('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>
yosin_UTC9 2015/11/19 07:31:44 Q: Is it OK to use "<!DOCTYPE>" instead of "<!DOCT
tkent 2015/11/19 07:36:39 No, it's my bad :)
2 <body>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <div id=start title=tooltip>foo</div>
7 <script>
8 var div = document.querySelector('#start');
9 test(function() {
10 eventSender.mouseMoveTo(div.offsetLeft, div.offsetTop + div.offsetHeight / 2 );
11 assert_equals(testRunner.tooltipText, 'tooltip');
12 eventSender.keyDown('a');
13 assert_equals(testRunner.tooltipText, '');
14 }, 'Key events should close tooltips.');
15 </script>
16 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698