- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 29 Apr 2026 15:58:09 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[cssom] Resolved value for font-size should perhaps take user's minimum font-size into account`, and agreed to the following: * `SUMMARY: Dig into compat issues to see what's likely to break for which behaviors` <details><summary>The full IRC log of that discussion</summary> <lwarlow> q+<br> <fantasai> emilio: I think we consciously made it not apply to 1em resolution.<br> <astearns> ack lwarlow<br> <fantasai> lwarlow: Is the user's minimum font size exposed anywhere else already? Maybe adds more fingerprinting behavior.<br> <fantasai> emilio: It is exposed because it affects geometry, so even if it isn't exposed in gCS() it's easy to get<br> <fantasai> lwarlow: ok then it's fine<br> <fantasai> fantasai: 3 things generally correspond: used font-size, getComputedStyle(font-size), and resolution of 1em.<br> <fantasai> fantasai: Breaking connection across any of these would be weird<br> <fantasai> emilio: We disconnected from 1em because some people made the used font size tiny to have a unit they wanted<br> <fantasai> fantasai: Wouldn't that be 'rem'? Not 'em'<br> <fantasai> emilio: If you have a very small font size, and then that font-size 2em ...<br> <fantasai> emilio: It could go both ways<br> <astearns> ack dbaron<br> <fantasai> dbaron: I have a vague memory that some of the motivation might have been 'em'<br> <fantasai> dbaron: Some of the prefs are for a rather large minimum font size, e.g. 36px<br> <fantasai> dbaron: One of the goals for that case was, if the page had headers that were 3x the font-size, the 36px minimum wouldn't actualy make the headers bigger<br> <fantasai> dbaron: This ridiculously large font-size wouldn't inflate the headers to e.g. 108px<br> <fantasai> dbaron: There's tradeoffs both ways, but one of the use cases for this was users who really need rather big text<br> <lwarlow> Doesn't that apply to the used value too not just computed though?<br> <fantasai> dbaron: but don't want to inflate all of the text on the page, even text that's already big<br> <flackr> +1 that makes sense to me<br> <fantasai> fantasai: I think we need to distinguish between the resolution of 'em' on 'font-size' (which looks at the parent) vs 'em' on the element itself.<br> <fantasai> fantasai: You want to resolve 'font-size' without considering the parent's minimum font size<br> <fantasai> fantasai: but apply the minimum when resolving 'em' units on the element itself<br> <fantasai> fantasai: Otherwise e.g. 'line-height: 1em' would not be big enough for the text that's been inflated<br> <fantasai> emilio: [something about handling this case already]<br> <flackr> fantasai: it's not just line-height, there's vertical-align, underlying properties, width of box fitting some amount of content<br> <flackr> fantasai: if the site is using ems for sizing, most things relative to size of font should stay relative to size of font<br> <flackr> fantasai: question is are there sites doing weird things with ems that would cause breakage<br> <fantasai> fantasai: and is that breakage worse than the breakage of *not* scaling 'em' on sites that are doing proper use of units<br> <fantasai> astearns: Seems like we need more info.<br> <fantasai> smfr: I'd like to debug the issue reported against WK first.<br> <fantasai> smfr: Do we have sites where this is a problem? I've seen some bug reports but haven't investigated yet<br> <fantasai> emilio: I can do some digging about that<br> <flackr> fantasai: we've got browsers with diff behaviors, the sites that are broken are like the opposite of that? [missed]<br> <fantasai> astearns: ok let's take back to issue<br> <fantasai> SUMMARY: Dig into compat issues to see what's likely to break for which behaviors<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10479#issuecomment-4345379497 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 29 April 2026 15:58:10 UTC