<html> | |
<head> | |
<style> | |
#pass1, #pass3 { | |
color: darkGray; | |
} | |
</style> | |
</head> | |
<body> | |
This tests that the text security mode switches correctly when the placeholder appears and disappears.<br> | |
Leave field 1 alone. It should show the placeholder text: <input type="text" id="pass1" value="placeholder"><br> | |
Focus field 2 and type. It should show bullets for the password.: <input type="password" id="pass2" value="1234"><br> | |
Focus field 3 and type. Clear the value and blur the field. It should show the placeholder text: <input type="text" id="pass3" value="placeholder"><br> | |
</body> | |
</html> |