My CSS file sets the color of all elements to white, but overrides this for inputs with a black font color. However, when Edge autofills an input, the "matched characters" inside the input appear in the default wildcard color, making them invisible on the white background.
Take a look at the image below, where the arrow points to four white characters that are rendered invisibly, followed by the letters "an".
https://i.sstatic.net/Wl3Fk7wX.png
None of the CSS styles related to autofill seem to work. This issue only occurs in Edge; Chrome does not exhibit this behavior. It appears to be a recent change that has been introduced.
Is there a specific selector to target the color of this text in Edge? As a temporary solution, I can change the wildcard color selector to black, but that would require significant changes to the CSS.