Since https://git.wikimedia.org/commitdiff/mediawiki%2Fcore.git/132ed8f5e013f19f67b34edbf58c31bb3f959bbe, the CSS file contains the code:
div#simpleSearch input:-ms-input-placeholder, div#simpleSearch input:-moz-placeholder, div#simpleSearch input::-webkit-input-placeholder { color: #999; }
This is wrong, you must use three separate rules, even if they all specify the same "color: #999;", as a browser should ignore a rule completely when it contains an unknown selector. I.e. the file search.less should write
&:-ms-input-placeholder {
color: #999;
}
&:-moz-placeholder {
color: #999;
}
&::-webkit-input-placeholder {
color: #999;
}
(and perhaps a comment to explain why three different rules for the same style are necessary, as this isn't obvious).
Version: 1.23.0
Severity: normal