|
var content = css.content || css.fontFamily; |
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"
lazysizes/plugins/parent-fit/ls.parent-fit.js
Line 65 in 1523a4f
I like to set the parent-fit in CSS, but the
contentis always "normal" and ignores the setting in thefontFamily. If I use content to declare, it will run. I think Chrome set a defaultcontentingetComputedStyle(element)to "normal"