-
Notifications
You must be signed in to change notification settings - Fork 791
[css-text] trim-both and trim-start #13779
Copy link
Copy link
Open
Labels
css-text-4i18n-clreqChinese language enablementChinese language enablementi18n-jlreqJapanese language enablementJapanese language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Metadata
Metadata
Assignees
Labels
css-text-4i18n-clreqChinese language enablementChinese language enablementi18n-jlreqJapanese language enablementJapanese language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Type
Fields
Give feedbackNo fields configured for issues without a type.
https://drafts.csswg.org/css-text-4/#text-spacing-trim-property
Recently, while discussing
text-spacing-trimin CSS, the clreq TF felt thattrim-bothandtrim-startare quite similar.The behavior of
trim-startin certain cases appears to be counter-intuitive. For instance, if there isn't enough space remaining at the end of a line, the content might be pushed to the next line. This could trigger a line-breaking rule (such as preventing a closing quotation mark from appearing at the start of a line).And there is a high probability that three full-width characters would be pulled down to the next line (since a paragraph ending with a closing quotation mark typically includes a sentence-ending punctuation mark immediately preceding the quotation mark).
Is there any specific scenario where
trim-startis absolutely essential?