Web browser: ---
            Bug ID: 60716
           Summary: [Regression] Placeholder for search input is black
                    instead of gray (again)
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: Skin and page rendering
    Classification: Unclassified
   Mobile Platform: ---

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).

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to