That is a hell of a long title for a very short post.
To prevent this we can simply add
inherit to our font-stack of the image:
// When using Object Fit Images Manually
font-family: "object-fit:cover", inherit;
So what if you’re using PostCSS Object Fit Images to automatically add that font family to any selector that employs
object-fit? Luckily it respects any existing font declaration and adds it to the font stack. So we can simply add the inherit statement directly:
// When using PostCSS Object Fit Images
The result in both cases is:
font-family: "object-fit:cover", inherit; and allows for the polyfill to do its thing while at the same time setting the font-family to the one used in the next proximate parent.