Re: [csswg-drafts] [css-fonts] font property descriptors for variable fonts

Your page suggests that Edge ignores font-weight descriptor. It is not ignored, it used for font matching. You can see [WPT tests](https://github.com/w3c/web-platform-tests/pull/9373/) we submitted for relevant test cases. Thing that we don't do is clamping. 
Descriptor play double purpose (font matching and clamping) and use cases may contradict each other. Font mapping looks more important to me than clamping. And proposed 'auto' value doesn't help here. Clamping is fine detail of restricting actual allowed axis range. I can't imagine it used widely (on purpose)and preferred over font matching logic.
One more argument for me in favor of not doing clamping automatically is that following same logic of clamping values will prohibit browsers from applying bold or italic simulation it tons of existing pages. This looks like important breaking change to me.
If clamping scenario is considered important enough, it may deserve separate descriptor similar to font-synthesis.


-- 
GitHub Notification of comment by SergeyMalkin
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2485#issuecomment-378342446 using your GitHub account

Received on Tuesday, 3 April 2018 18:03:49 UTC