mbutterick/quad

absorb `-adjust` attributes into the main ones

Closed this issue · 4 comments

Like font-size-adjust and line-height-adjust but maybe not font-features-adjust

I suppose string input like 1.2em or 120% could be interpreted as an adjustment.

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.

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?

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.