<p dir="auto">While reviewing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3224650101" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6184" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/6184/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/6184">#6184</a> I discovered a problem with Firefox causing by autoprefixer adding a <code class="notranslate">-moz-placeholder</code> rule alongside the <code class="notranslate">placeholder-shown</code> rule.</p>
<p dir="auto">The details are discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2934868604" data-permission-text="Title is private" data-url="https://github.com/postcss/autoprefixer/issues/1533" data-hovercard-type="issue" data-hovercard-url="/postcss/autoprefixer/issues/1533/hovercard" href="https://github.com/postcss/autoprefixer/issues/1533">postcss/autoprefixer#1533</a> but basically Firefox has supported <code class="notranslate">placeholder-shown</code> since version 50 but before that used <code class="notranslate">-moz-placeholder</code> and some other browsers based on old Firefox versions still do. The problem is that newer Firefox versions still recognise <code class="notranslate">-moz-placeholder</code> but at some point started treating it as <code class="notranslate">placeholder</code> and always matching whether or not the text is shown.</p>
<p dir="auto">The solution is to drop support for one specific browser (KaiOS 2.5) which is the only thing in the default set actually triggering this. Newer versions (3.0, 3.1) of KaiOS remain supported.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6185'>https://github.com/openstreetmap/openstreetmap-website/pull/6185</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6185/commits/2e9f767a0f66382c0bb733c61b02952d946b5b62" class="commit-link">2e9f767</a>  Drop KaiOS 2.5 support to fix placeholder styling in Firefox</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6185/files">1 file</a>)</p>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6185/files#diff-d34152de526bbb84c1238429907b7c321ea9241b1d97c0f349ccceca4b7d5ae4">app/assets/stylesheets/.browserslistrc</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6185.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6185.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6185.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6185.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6185">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLK3UKPQPQCEW7DMVOT3IDTCZAVCNFSM6AAAAACBLTTWU2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGIZDKMJZGYYDSMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJ7EBECVJRZKU7IFB33IDTCZA5CNFSM6AAAAACBLTTWU2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMAPEWHI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6185</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6185",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6185",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>