- From: Scott Kellum via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Jan 2022 03:04:39 +0000
- To: public-css-archive@w3.org
@cookiecrook Unfortunately I think we are still misaligned on this. No, I am not proposing a constraint or cap on font size, and I don’t think such a proposal would be a good idea. I think I see where some confusion exists. Originally, I proposed two separate possible solutions to this problem: 1 The first proposal is a zoom keyword in CSS. 2: The second proposal is that text scaling be made the default instead of page zooming being the default. Proposing two separate solutions may have caused this conversation to become more lengthy than it needs to be, and, like you've pointed out, I don't think this second solution has much merit. Acknowledging that, let's focus on the first proosal: a zoom keyword in CSS — This one, I think, is more realistic. It addresses the WCAG thread more head-on by surfacing the zoom level as a CSS keyword. Adding this unit to any of the examples in this thread or the WCAG issue thread would allow text that normally wouldn’t scale with default browser zooming to scale as expected. For example, with the code `font-size: 4vw`, text would scale as expected with browser resizes, but inconsistent with expectations with `cmd+`/`cmd-` zoom. However, if we add a zoom unit to this,`font-size: calc(4vw * zoom)`, that would make the text scale as expected with both browser resizes and `cmd+`/`cmd-` zooms. Does that make sense? -- GitHub Notification of comment by scottkellum Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6869#issuecomment-1009556893 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 11 January 2022 03:04:41 UTC