You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue recently with img { vertical-align: middle } at work.
If an image breaks and falls back to its alt text, a vertical-align other than baseline produces different behavior across browsers. Here’s a CodePen to demonstrate.
Older (current?) versions of Firefox have the alt text dip below the baseline
As of Firefox Nightly 71.0a1, though, the changing of vertical-align appears to be ignored and the text flows on the same baseline, which seems ideal to me.
Chrome has the same problem as older Firefox, along with a broken image icon
Is it worth trying to fix this problem with selectors specifically for alt text? (Like img:is(:-moz-broken, :-moz-loading, :-moz-user-disabled))
The text was updated successfully, but these errors were encountered:
Originally from #14:
The text was updated successfully, but these errors were encountered: