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

> As someone who uses various methods of zooming text and content of pages every single day, I never want to “make text bigger”. I want to access content by increasing the size of small texts, usually paragraphs.
> 
> This feature will not change anything in how minimum font-size works on pages, it will only allow authors to increase the size of certain elements to be conditionally _larger_ than they would be without it. At a smaller viewport, a header fully fitting into available space from the get-go, will be rendered at 20px size, and could be without issue increased in size to 40px via browser zoom. On larger viewports, the same header will be rendered at an already larger size.

In addition to the previous comment, that feels very presumptive about how authors might use a feature like this. There's no guarantees that this will _only_ be used on headers, or _only_ with text that is already above a minimum size, or _only_ within containers that are already large and will grow in size, and we shouldn't assume they will. 

-- 
GitHub Notification of comment by querkmachine
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2528#issuecomment-2770931599 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 23:53:58 UTC