W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

Re: [csswg-drafts] [css-values] [css-fonts-4] Native map() function in CSS

From: Jason Pamental via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Oct 2016 15:28:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-252656536-1476113327-sysbot+gh@w3.org>
Important point here is that `font-variation-settings` isn't what we 
should be using in general practice, but rather the goal is to 'clamp'
 to existing (and in some cases new) higher-level attributes, like 
`font-weight` (wght) and `font-stretch` (wdth) (see description in the
 spec here: 
https://drafts.csswg.org/css-fonts-4/#low-level-font-variation-settings-control-the-font-variation-settings-property)

I'm not sure if it makes a difference in this specific situation, but 
it may be more in line with existing techniques to be trying to solve 
for specific 'mapping' of width and viewport with a single existing 
attribute rather than a broader-spectrum low level one like 
`font-variation-settings`

-- 
GitHub Notification of comment by jpamental
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/581#issuecomment-252656536 
using your GitHub account
Received on Monday, 10 October 2016 15:28:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC