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
line-height can accept a length, a % (which resolves to a length at computed-value time), or a number (which resolves to a length at used-value time). Need something to be able to express the combination of these three in a calc() (even if some engines can't actually handle that right now).
I suggest just adding a 'number' field to the Calc classes; they all currently have a % field even tho %s aren't valid in all circumstances, and this'll be the same (just invalid in much more places).
The text was updated successfully, but these errors were encountered:
(Make sure it's clear in the spec that setting a calc with a % or number to a property that doesn't accept those throws at setting time, just like setting 'width' to an angle or something.)
line-height can accept a length, a % (which resolves to a length at computed-value time), or a number (which resolves to a length at used-value time). Need something to be able to express the combination of these three in a calc() (even if some engines can't actually handle that right now).
I suggest just adding a 'number' field to the Calc classes; they all currently have a % field even tho %s aren't valid in all circumstances, and this'll be the same (just invalid in much more places).
The text was updated successfully, but these errors were encountered: