[wp-trac] [WordPress Trac] #63030: Update CSS for `::-moz-placeholder` color

WordPress Trac noreply at wordpress.org
Thu Feb 27 16:50:34 UTC 2025


#63030: Update CSS for `::-moz-placeholder` color
----------------------------+---------------------------------
 Reporter:  afercia         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  accessibility, css
----------------------------+---------------------------------
Changes (by sabernhardt):

 * focuses:  accessibility => accessibility, css


Comment:

 The themes should be considered separately. Firefox just changed the
 `opacity` and `color` a few months ago, and it could be too soon to remove
 `opacity: 1` on the front end. About [https://caniuse.com/usage-table 18%
 of Firefox users] have a version before the browser's style change. Also,
 five themes (T13 to T17) still have the older `:-moz-placeholder` syntax.

 The priority for themes is adding a color in Twenty Twenty-One to override
 Firefox's `color-mix(in srgb, currentColor 54%, transparent)`. Try to use
 a relative color (possibly the `color-mix` with a higher percentage) so it
 works with the theme's default and dark mode, plus any custom colors.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63030#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list