[csswg-drafts] [css-fonts-5] make metric value optional for font-size-adjust (#6388)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-5] make metric value optional for font-size-adjust ==
As I was working in the edits for https://github.com/w3c/csswg-drafts/issues/6160 I noticed that the grammar is a bit more locked down than we'd normally allow, so I'd like us to consider:

- Making the metric value optional (defaulting to `from-font`), so all that's required is a keyword of which metric we care about. This would make things like `font-size-adjust: ic` valid (and useful).
- Maybe making the two components reorderable? Unless we plan to extend to allow multiple keyword-value pairs in the future, this would fit better with our usual grammar patterns. This would make things like `font-size-adjust: 0.4 cap` valid in addition to `font-size-adjust: cap 0.4`. (I'm less sure about this one.)


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6388 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 16 June 2021 18:35:16 UTC