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
The text was updated successfully, but these errors were encountered:
vursen
changed the title
[icon] Icon font size does not take into account dynamically added CSS padding in Safari
[icon] Icon font size ignores dynamically added CSS padding in Safari
Dec 23, 2024
The icon component includes a built-in polyfill for calculating the icon font size in browsers that don't support cqh units, which was improved in #6419 to subtract CSS padding from the font size. However, this polyfill is nowadays skipped for Safari because it successfully passes the supportsCQUnitsForPseudoElements check. Maybe we should consider re-enabling the polyfill for Safari at least until this bug is fixed.
Description
Finding from #8355
In Safari, the icon's font size does not take into account CSS padding when it's added dynamically:
Expected outcome
The icon's font size should adjust to match the new size of the container content box.
Minimal reproducible example
Environment
Vaadin version(s): 24.6 and earlier
OS: Mac OS
Browsers
Safari
The text was updated successfully, but these errors were encountered: