Re: [csswg-drafts] [css-text][text-spacing] Visual regressions of line-start at portals and news sites (#9511)

@kojiishi Thanks for reporting this. Real world experience here is very useful. In the above post, I think you meant `trim-auto` rather than `trim-all`, but that doesn't change your main point.

> At this point, I can't find options other than defining a new value that doesn't trim line-start at all, and make it initial.

I am not sure I follow, as you also said that most people though that `trim-all` (I think you meant `trim-auto`) was the ideal value. Is it because not trimming at all gives results that are more consistent than `space-first`, even if they're not great?

Maybe we do need a new value, but I wonder how much of this problem we can address using UA stylesheets, for example by setting `text-spacing: trim-auto` on `h1`, `h2`… and maybe also on `dt`, `dd`, `li`… even if the initial value remains `space-first`?

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


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

Received on Monday, 23 October 2023 07:33:07 UTC