I'm trying to fix an issue on my inputs, where I change the style of the font to italic whenever the input is dirty. This works fine on Firefox. However on Chrome, when I apply font-style: italic;
to a text input with, for instance, size="5"
, the input repaints itself with a different width.
You can check a basic example here: https://codepen.io/anon/pen/aeNoBV
Just remove the style of the input.
Is this a bug on Chrome, or am I missing something?