blob: 8ea61636ee567bb04bcc286aa5d14ecb80a15c55 [file] [log] [blame]
<!DOCTYPE html>
<p>This test can be used to verify that the caps lock indicator is not shown when the password field becomes disabled.</p>
<li>Click on the password field (below) to focus it.</li>
<li>Press the caps lock key on the keyboard.</li>
<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. -->