dbates@webkit.org | 4fe97c7 | 2015-06-03 22:35:44 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <body> |
| 4 | <p>This test can be used to verify that the caps lock indicator is not shown when the password field becomes disabled.</p> |
| 5 | <ol> |
| 6 | <li>Click on the password field (below) to focus it.</li> |
| 7 | <li>Press the caps lock key on the keyboard.</li> |
| 8 | </ol> |
| 9 | <p>This test FAILED if the caps lock indicator is shown. Otherwise, it PASSED.</p> |
| 10 | <input type="password" onkeydown="this.disabled = true;"> <!-- AppKit only dispatches a keydown event when the caps lock key is enabled. --> |
| 11 | </body> |
| 12 | </html> |