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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html

Issue 1944923002: Fix for Alt+Left/Right page navigation with focus on radio buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys-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
3 <script src="../resources/common.js"></script>
4
5 <script src="../../../resources/js-test.js"></script>
6
7 <form>
8 <input type="radio" name="fruit" id="apple">
9 <input type="radio" name="fruit" id="banana">
10 <input type="radio" name="fruit" id="cherry">
11 </form>
12
13 <script>
14 description('Tests behavior of arrow with modifer keys on radio button.');
15
16 clickElement(document.getElementById('banana'));
17 shouldBeTrue('document.getElementById("banana").checked');
18
19 eventSender.keyDown('rightArrow', ['ctrlKey']);
20 shouldBeTrue('document.getElementById("banana").checked');
21
22 eventSender.keyDown('leftArrow', ['shiftKey']);
23 shouldBeTrue('document.getElementById("apple").checked');
24
25 eventSender.keyDown('leftArrow', ['altKey']);
26 shouldBeTrue('document.getElementById("apple").checked');
27 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698