W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jul 2018 01:58:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-401989695-1530583139-sysbot+gh@w3.org>
>  But grabbing the inherited value of a property via a function or something shouldn't be problematic.

I moderately disagree with this. It may not be a problem for `font-weight` especially given that it doesn't seem likely that we are going to extend it to a multi-value property. But it could happen that a property which currently only accepts a single numeric value can be extended to support non-numeric (computed) value, multiple values, or even be converted into shorthand. In those cases, we may have trouble to continue supporting this mechanism in those properties.

(Actually it's not even clear to me whether `font-weight` is going to be stuck in its current form. For example, could there be some new kind of font variation axis which supports adjusting vertical and horizontal direction weight differently, and its request becomes common so that we want to have `font-weight` support it directly?)

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2764#issuecomment-401989695 using your GitHub account
Received on Tuesday, 3 July 2018 01:59:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 3 July 2018 01:59:02 UTC