You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.selector{/* ① For implementations that support `trim-start`, apply this value first. */text-spacing-trim: trim-start;/* ② Browsers that support trim-both will overwrite the previous line, and browsers that don't support it will ignore this line. */text-spacing-trim: trim-both;}
Ok, but any feedback would still only be related to trim-start (only supported on Blink browsers, and dependent on the font used), rather than trim-both. You won't be able to get comparative feedback on whether trim-both is better than trim-start.
Yes, we're aware of that. Firstly, the behavior of these two values is very similar. Secondly, once trim-both is also implemented by browser(s), we can get feedback. And there shouldn't be any disadvantage with it (if there is, we can easily change it back).
Activity
xfq commentedon Jun 4, 2026
Once we have reached a decision, I will also add it to W3C's Chinese pages/articles, like https://www.w3.org/International/i18n-drafts/nav/about.zh-hans.html
xfq commentedon Jul 21, 2026
The result of today’s meeting: try
trim-bothfor a few months, and if there is no negative feedback, adopt it officially.r12a commentedon Jul 22, 2026
But
trim-bothdoesn't appear to be supported by any browser, so it's not clear to me how you'd get feedback. See the side panel at https://www.w3.org/International/articles/styling/inline-space.en.html#punc_initial_nospacexfq commentedon Jul 22, 2026
We plan to use CSS code like this:
r12a commentedon Jul 23, 2026
Ok, but any feedback would still only be related to
trim-start(only supported on Blink browsers, and dependent on the font used), rather thantrim-both. You won't be able to get comparative feedback on whethertrim-bothis better thantrim-start.xfq commentedon Jul 23, 2026
Yes, we're aware of that. Firstly, the behavior of these two values is very similar. Secondly, once
trim-bothis also implemented by browser(s), we can get feedback. And there shouldn't be any disadvantage with it (if there is, we can easily change it back).xfq commentedon Sep 15, 2026
After today's meeting discussion, the TF decided to add the above CSS for now. It should work better than not adding anything.
Add text-spacing-trim
Add text-spacing-trim to SC and TC