| <!DOCTYPE html> |
| <html> |
| <body> |
| <p>This test can be used to verify that the caps lock indicator is not shown when the password field becomes disabled.</p> |
| <ol> |
| <li>Click on the password field (below) to focus it.</li> |
| <li>Press the caps lock key on the keyboard.</li> |
| </ol> |
| <p>This test FAILED if the caps lock indicator is shown. Otherwise, it PASSED.</p> |
| <input type="password" onkeydown="this.disabled = true;"> <!-- AppKit only dispatches a keydown event when the caps lock key is enabled. --> |
| </body> |
| </html> |