Unfortunately, the following is creating an issue in Safari + Firefox:
--RS__baseLineHeight: calc((1em + (2ex - 1ch) - ((1rem - 16px) * .1667)) * var(--RS__lineHeightCompensation));
This is fine in Chrome, the result is what you would expect.
As soon as the custom property is disabled or its value is modified to a simpler one e.g. 1.2, Safari and Firefox behave normally.
zoom 1 for reference:
Zoom 0.7, the line-height is larger than it should be:
Zoom 1.7, the issue is becoming obvious as the line-height is smaller than it should be:
Investigating.
Unfortunately, the following is creating an issue in Safari + Firefox:
This is fine in Chrome, the result is what you would expect.
As soon as the custom property is disabled or its value is modified to a simpler one e.g.
1.2, Safari and Firefox behave normally.zoom 1 for reference:
Zoom 0.7, the line-height is larger than it should be:
Zoom 1.7, the issue is becoming obvious as the line-height is smaller than it should be:
Investigating.