W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-fonts] Handle language/family dependent cascading of keyword font-size values

From: Manish Goregaokar via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Dec 2017 17:01:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-351454824-1513184487-sysbot+gh@w3.org>
I think the inheritance behavior is sufficiently complex and mostly common between browsers that it should be mentioned _somewhere_, even as non-normative text.

It could also be specced as "if you intend to support having different base sizes for different languages/fonts, here is how to do it".

Bear in mind that whilst the configurability on a per-language basis varies based on browser, all browsers seem to do the "different generic font families have different font sizes" (I think)

In particular because most browsers seem to have similar behavior here it doesn't really make sense to shove it under the rug since that doesn't help future implementors (like Servo, which had lots of problems with just figuring this out). If it's something people probably need to implement because everyone does it, it probably should be there in the spec (at least as non normative text).

-- 
GitHub Notification of comment by Manishearth
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1835#issuecomment-351454824 using your GitHub account
Received on Wednesday, 13 December 2017 17:01:35 UTC

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