Bootlin logo

Elixir Cross Referencer

<!DOCTYPE html>
<p>This test can be used to verify that the caps lock indicator is not shown when the password field becomes read-only.</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.readOnly = true;"> <!-- AppKit only dispatches a keydown event when the caps lock key is enabled. -->