password-ctrl-click-lose-focus.html   [plain text]

<html lang="en">
<p><b>BUG ID:</b> <a href="rdar://problem/4604703">4604703</a> REGRESSION (NativeTextField): Focus is not removed from password field after I ctrl-click into a different field</p>

<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
<br>1) Make a selection in the password field
<br>2) Ctrl-click in the text field</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
After ctrl-clicking in the text field, the password field should lose focus, and its selection should be cleared.

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
After ctrl-clicking in the text field, if the password field still has a selection, the test has failed.
<br><input type="text" value="Ctrl-Click in this field.  Test passes if the password field no longer has a selection." size=100></input>
<br><input type="password" id="pass" value="12345"></input>