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

kojiishi has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text][text-spacing] Visual regressions of line-start at portals and news sites ==
The current initial value of the [`text-spacing-trim` property](https://drafts.csswg.org/css-text-4/#propdef-text-spacing-trim) is [`space-first`](https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first). This was chosen because the ideal value `trim-all` turned out to break novel sites at https://github.com/w3c/csswg-drafts/issues/2462.

From dogfooding a prototype, the `space-first` turned out to regresss portal sites and news sites. The regressions were found at MSN Japan and Google News, occuring multiple times a day. Some consider this a minor visual regression, while others consider a critically blocking regression.

To summairze [a long Japanese discussion at JLTF](https://lists.w3.org/Archives/Public/public-i18n-japanese/2023OctDec/0167.html):
* Most think `trim-all` is the ideal value for body text and headlines. Note, iOS 17/macOS Sonoma applies this style by default to their native controls.
* `trim-all` still breaks documents using a style used by novels, as reported at https://github.com/w3c/csswg-drafts/issues/2462, while `space-first` doesn't.
* For other sites, `trim-all` is ideal. `space-first` is a) less ideal for body text, b) quite starnge for headlines, and c) critically regresses headline lists seen in portal top pages, news sites, blog sites, etc. (note some people consider it's minor in all cases.)

From the feedback so far to the CSS prorotype, Android, and iOS, I think users/authors are particular about:
* Line start >>>> autospace >> adjuscent > line end

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.

/cc @fantasai @frivoal @nt1m @vitorroriz @Clqsin45 @MurakamiShinyu @himorin @kidayasuo


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9511 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 06:10:38 UTC