blob: 8ea61636ee567bb04bcc286aa5d14ecb80a15c55 [file] [log] [blame]
dbates@webkit.org4fe97c72015-06-03 22:35:44 +00001<!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>