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 used value is this unitless multiplied by the element's own font size.
The computed value is the same as the specified . In most cases, this is the preferred way to set line-height and avoid unexpected results due to inheritance.
I don't believe there are many unitless CSS possibilities, but this one is standard.
The text was updated successfully, but these errors were encountered:
It definitely is standard, so that's something missed - will get this fixed and a specific test for it. There's a couple of unitless properties around, and where it can also do attributes it needs to have a little bit more understanding of how it works!
…t css styles are now set/get via a normalization instead of by fallback code Tweens are now an interface (object) instead of an enum indexed array Normalization function is now cached in tween at animation start for performance and consistency Internal version number is now set directly instead of indirectly
Fixes#849 - SVG attribute initialisation was crashing
Fixes#845 - Inconsistent handling of colour codes, now force rgba()
Fixes#839 - - Possibly mis-identification of lineHeight
In v1, setting
lineHeight: 5
set it to5
in CSS, which is a valid value in CSS.Now, in v2, it forces a px unit on that value, such that
5
is made into5px
From MDN (https://developer.mozilla.org/en-US/docs/Web/CSS/line-height)
I don't believe there are many unitless CSS possibilities, but this one is standard.
The text was updated successfully, but these errors were encountered: