While reviewing #6184 I discovered a problem with Firefox causing by autoprefixer adding a `-moz-placeholder` rule alongside the `placeholder-shown` rule.
The details are discussed in https://github.com/postcss/autoprefixer/issues/1533 but basically Firefox has supported `placeholder-shown` since version 50 but before that used `-moz-placeholder` and some other browsers based on old Firefox versions still do. The problem is that newer Firefox versions still recognise `-moz-placeholder` but at some point started treating it as `placeholder` and always matching whether or not the text is shown. 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. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6185 -- Commit Summary -- * Drop KaiOS 2.5 support to fix placeholder styling in Firefox -- File Changes -- A app/assets/stylesheets/.browserslistrc (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6185.patch https://github.com/openstreetmap/openstreetmap-website/pull/6185.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6185 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev