W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-fonts-4] Percentages in font-weight for relative weights (#2690)

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Jun 2020 06:45:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-636644854-1590993919-sysbot+gh@w3.org>
For some of these, it seems like a desired behavior might be to add or subtract a specific adjustment rather than multiplying by a percentage.  For that, perhaps syntax like:

```css
  font-weight: lighter(100);
  font-weight: bolder(300);
  font-stretch: more-condensed(25%); /* better name wanted! */
  font-stretch: more-expanded(12.5%); /* same! */
```

might be desirable?

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2690#issuecomment-636644854 using your GitHub account
Received on Monday, 1 June 2020 06:45:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC