My mind is blown. Check this out, I've got the following CSS:
.login-form .form-control:focus::-webkit-input-placeholder,
.login-form .form-control:focus:-moz-placeholder,
.login-form .form-control:focus::-moz-placeholder,
.login-form .form-control:focus:-ms-input-placeholder,
.login-form .form-control:focus::-ms-input-placeholder {
color: blue;
}
It fails to make the focused input's placeholder text blue (in Chrome). But if I cut this down to just this:
.login-form .form-control:focus::-webkit-input-placeholder {
color: blue;
}
then it works fine. I don't even understand what the heck's going on here. The other selectors are comma-separated and shouldn't have any effect on the Webkit-specific one. What's going on here?
EDIT: This has nothing to do with invalid (or cutting edge) CSS, as even the following breaks:
.login-form .form-control:focus::-webkit-input-placeholder,
.login-form .form-control:focus::-moz-placeholder {
color: blue;
}