#993·lazysizes

parent-fit in fontFamily is ignored

Author: pumpiCreated Oct 7, 2023Updated Oct 7, 2023

https://github.com/aFarkas/lazysizes/blob/1523a4ff4579e170355c7607f445689b43229caf/plugins/parent-fit/ls.parent-fit.js#L65

I like to set the parent-fit in CSS, but the content is always "normal" and ignores the setting in the fontFamily. If I use content to declare, it will run. I think Chrome set a default content in getComputedStyle(element) to "normal"