- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Oct 2023 06:31:59 +0000
- To: public-css-archive@w3.org
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text4] text-spacing-trim and classes of == In [css-text-4 8.5.1. Fullwidth Punctuation Collapsing](https://drafts.csswg.org/css-text-4/#fullwidth-collapsing), we have: > Set fullwidth closing punctuation half-width if the next character is any of: > * a fullwidth closing punctuation > * a fullwidth middle dot punctuation > * an ideographic space (U+3000) > * a fullwidth opening punctuation of a larger font-size > * a character belonging to Unicode general category Pe I think we should we add `Pf` alongside with `Pe`. These WPT tests assume it, and that seems very reasonable to me: https://wpt.fyi/results/css/css-text/text-spacing-trim?label=master&label=experimental&aligned&q=text-spacing-trim-quote-001.html Further, thoes tests makes it conditional on the language, collapsing when it's Japanese, but not when it's Chinese. If we were to do spec that language dependency, it should be for more than just `Pf`, but also `Pe` and `Ps` (in the previous rule). Or maybe we don't need the language dependency, and the variants of those glyphs that can or cannot be trimmed can be detected from the font? cc: @fantasai @kojiishi Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9504 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 October 2023 06:32:01 UTC