lazysizes icon indicating copy to clipboard operation
lazysizes copied to clipboard

parent-fit in fontFamily is ignored

Open pumpi opened this issue 1 year ago • 0 comments

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"

pumpi avatar Oct 07 '23 18:10 pumpi