Nothing Special   »   [go: up one dir, main page]

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-decor-4] Don't skip visible word-separators when skipping only leading/trailing spaces #5249

Open
fantasai opened this issue Jun 22, 2020 · 2 comments
Labels
Closed Accepted by Editor Discretion Commenter Response Pending css-text-decor-4 i18n-elreq Ethiopic language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@fantasai
Copy link
Collaborator

text-decoration-skip-spaces allows skipping all spaces, or just leading/trailing spaces. For leading/trailing spaces at least, it probably makes more sense to treat visible word separators as not part of the leading/trailing spaces being skipped.

Relates to w3c/elreq#119

@fantasai fantasai added i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. i18n-elreq Ethiopic language enablement labels Jun 22, 2020
@fantasai
Copy link
Collaborator Author
fantasai commented Sep 2, 2022

Hi @r12a, I've redefined the skipped characters to be

  • for text-decoration-skip: start || end, any codepoints from general category Zs except U+202F NARROW NO-BREAK SPACE
  • for text-decoration-skip: all the above codepoints plus all word separators

Let me know if this seems correct to you or if you think it needs further refinement.

@r12a
Copy link
Contributor
r12a commented Sep 7, 2022

@fantasai i assume you mean text-decoration-skip-spaces rather than text-decoration-skip.

See my comment at w3c/elreq#119 (comment) – basically, i'm starting to wonder whether wordspace needs special treatment, rather than just being treated in the same way as spaces.

It may be simpler to describe what characters are covered by all first, then describe any start|end differences. The main uses so far of NNBSP seem to be for Mongolian MVS and for separating punctuation in languages like French – in these cases i guess NNBSP doesn't appear at a line start/end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted by Editor Discretion Commenter Response Pending css-text-decor-4 i18n-elreq Ethiopic language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Projects
None yet
Development

No branches or pull requests

3 participants