Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-text-4] Virtual word boundary should not affect justification #7191

Open
r12a opened this issue Apr 1, 2022 · 1 comment
Open

[css-text-4] Virtual word boundary should not affect justification #7191

r12a opened this issue Apr 1, 2022 · 1 comment
Labels
Closed Accepted as Editorial Commenter Response Pending css-text-4 i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.

Comments

@r12a
Copy link
Contributor

r12a commented Apr 1, 2022

2.2.1. Detecting Word Boundaries: the word-boundary-detection property

A virtual word boundary is similar to the presence of the ZERO WIDTH SPACE (U+200B) character: it introduces a soft wrap opportunity and is affected by the word-boundary-expansion property. Its presence has no effect on text shaping, nor on word-spacing. However, inserting virtual word boundaries must have no effect on the underlying content, and must not affect the content of a plain text copy & paste operation.

The i18n WG thinks the text should probably also say that the virtual word boundary is invisible to justification algorithms (just like ZWSP), ie. add justification to the list after "Its presence has no effect on...".

@fantasai
Copy link
Collaborator

I rephrased that sentence to make it more generic, it now reads:

A virtual word boundary is similar to the presence of the ZERO WIDTH SPACE (U+200B) character: it introduces a soft wrap opportunity and is affected by the word-boundary-expansion property. However, its presence alone has no effect on text shaping, spacing, or justification. Inserting virtual word boundaries must have no effect on the underlying content, and must not affect the content of a plain text copy & paste operation.

@r12a Let me know if this clarifies the situation adequately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Editorial Commenter Response Pending css-text-4 i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

2 participants