| Index: third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..702f290b8f4a4bb285851f1baf4cfa171f2be115
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<script src="../resources/common.js"></script>
|
| +
|
| +<script src="../../../resources/js-test.js"></script>
|
| +
|
| +<form>
|
| +<input type="radio" name="fruit" id="apple">
|
| +<input type="radio" name="fruit" id="banana">
|
| +<input type="radio" name="fruit" id="cherry">
|
| +</form>
|
| +
|
| +<script>
|
| +description('Tests behavior of arrow with modifer keys on radio button.');
|
| +
|
| +clickElement(document.getElementById('banana'));
|
| +shouldBeTrue('document.getElementById("banana").checked');
|
| +
|
| +eventSender.keyDown('rightArrow', ['ctrlKey']);
|
| +shouldBeTrue('document.getElementById("banana").checked');
|
| +
|
| +eventSender.keyDown('leftArrow', ['shiftKey']);
|
| +shouldBeTrue('document.getElementById("apple").checked');
|
| +
|
| +eventSender.keyDown('leftArrow', ['altKey']);
|
| +shouldBeTrue('document.getElementById("apple").checked');
|
| +</script>
|
|
|