We should not show the caps lock indicator in a read-only or disabled field.
Created attachment 254202 [details] Patch We need to abstract the caps lock logic so as to support automated testing. Currently we check the actual hardware keyboard state for the caps lock key to determine whether to draw the caps lock indicator. Filed bug #145613 to add support for testing the caps lock indicator in DRT/WTR.
<rdar://problem/21227454>
Committed r185173: <http://trac.webkit.org/changeset/185173>