- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 May 2019 16:42:48 +0000
- To: public-css-archive@w3.org
[Previous versions of CSS](https://www.w3.org/TR/CSS2/fonts.html#font-size-props) specifically required that “The 'medium' value is the user's preferred font size.” That requirement was somehow lost in the transition to CSS Fonts, and the WG in #2430 decided it wasn't important enough to add back in. So, a first approach at addressing this issue could be to add that requirement back in, making it clear that the “user's preferred font size” should be taken from system preferences if the browser doesn't offer more direct control. I personally think that's all that is required. Running through @cookiecrook's list of minimum needs, [from above](https://github.com/w3c/csswg-drafts/issues/3708#issuecomment-477403555): 1. **A way for authors to opt-in to the user's preferred font size.** If authors can be confident that `medium` is the user's preferred font size, that's the way to do it. 2. **A way to ensure browsers don't force this on web sites (especially mobile sites) that are not prepared or able to fix layout issues.** Any website that uses absolute font sizes wouldn't change. (In contrast, if a website only uses relative font sizes but assumes the default will always be 16px, they will be broken already in many browsers.) 3. **A way for authors to adapt their layouts to changes in the user's font-size.** A media query that uses em or rem units (`@media (min-width: 40em) {…}`) would adapt based on the change in default font size. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3708#issuecomment-492316117 using your GitHub account
Received on Tuesday, 14 May 2019 16:42:50 UTC