Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <body> | |
|
bokan
2016/05/04 12:12:13
As per layout tests style, <body> tags should be o
| |
| 4 <script src="../resources/common.js"></script> | |
| 5 | |
| 6 <script src="../../../resources/js-test.js"></script> | |
| 7 | |
| 8 <form> | |
| 9 <input type="radio" name="fruit" id="apple"> | |
| 10 <input type="radio" name="fruit" id="banana"> | |
| 11 <input type="radio" name="fruit" id="cherry"> | |
| 12 </form> | |
| 13 | |
| 14 <script> | |
| 15 description('Tests behavior of arrow with modifer keys on radio button.'); | |
| 16 | |
| 17 clickElement(document.getElementById('banana')); | |
| 18 shouldBeTrue('document.getElementById("banana").checked'); | |
| 19 | |
| 20 eventSender.keyDown('rightArrow', ['ctrlKey']); | |
| 21 shouldBeTrue('document.getElementById("banana").checked'); | |
| 22 | |
| 23 eventSender.keyDown('leftArrow', ['shiftKey']); | |
| 24 shouldBeTrue('document.getElementById("apple").checked'); | |
| 25 | |
| 26 eventSender.keyDown('leftArrow', ['altKey']); | |
| 27 shouldBeTrue('document.getElementById("apple").checked'); | |
| 28 </script> | |
| 29 | |
| 30 </body> | |
| 31 </html> | |
|
bokan
2016/05/04 12:12:13
Remove </html>
| |
| OLD | NEW |