Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Tests focus when a modal dialog is opened. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
| 4 | |
| 5 | |
| 6 PASS document.activeElement is document.querySelector("[tabindex='0']") | |
| 7 PASS successfullyParsed is true | |
| 8 | |
| 9 TEST COMPLETE | |
| 10 Negative tabindex shouldn't be focused | |
| 11 A div or custom element with tabindex >= 0 should be focused | |
| 12 Form controls without [autofocus] shouldn't have higher precendence | |
| OLD | NEW |