Re: [csswg-drafts] [css-fonts-4] Feature for making text always fit the width of its parent (#2528)

> Currently, the proposed algorithm depends strictly on the container width, which should not change based on the full-page zoom, I think? 

It will, on desktop browsers (which reflow content, compared to mobile browsers that keep layout as is and have the additional "layout" viewport), as full-page zoom changes the CSS width/height of the browser viewport. So if text is contained within a regular `<div>`, it will get less wide (in CSS pixels) as the user zooms in. If the browser then tries to "always fit" the text, it'll have to make the font size smaller, working against the user's efforts to zoom in

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 1 April 2025 17:53:10 UTC