absorb `-adjust` attributes into the main ones
Closed this issue · 4 comments
mbutterick commented
Like font-size-adjust
and line-height-adjust
but maybe not font-features-adjust
mbutterick commented
I suppose string input like 1.2em
or 120%
could be interpreted as an adjustment.
mbutterick commented
The reason to collapse them is that otherwise the risk exists that, say, font-size
and font-size-adjust
could appear in the same Q-expression, and then a question of ambiguity / priority emerges.
mbutterick commented
But if I pass 120%
to line-height
, what is the intuitive behavior: 120% of the font size? (This is how CSS works.) Or 120% of the inherited line height?
mbutterick commented
Also, the same policy should apply to font-features
. Maybe by prefixing the feature string with +
, we can indicate append rather than replace feature settings.