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

It sounds like we have a possible resolution to this issue, after finding web compat problems with changing the default rendering to `trim-auto` or `space-first`. My proposed resolution is:

* Add a new `space-start` value to `text-spacing-trim`, which would mean "no trimming at line start for any line", and is the same behavior as Chromium currently has
* Set the default value of `text-spacing-trim` to `space-start allow-end`

This will resolve this issue and #9521.

The reason to make this resolution is that:

For `space-start`:
* Setting the default to `trim-auto` would have too much web compat risk for Japanese novel sites (which are quite popular in Japan)
* Setting the default to `space-first` would have too much web compat risk for major Japanese sites like Nikkei and Yahoo Japan
* `space-start` rendering is an established style for not just the web but also some print cases (e.g. it's the default for Microsoft Word)

For `allow-end`:
* `trim-end` would break editing use cases (see #9521) (Note: we could also just remove `trim-end`, that would also be fine.) 

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


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

Received on Monday, 4 December 2023 18:15:29 UTC