Skip to content

Emphasis marks do not skip tilde #11951

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

Open
xfq opened this issue Mar 18, 2025 · 1 comment
Open

Emphasis marks do not skip tilde #11951

xfq opened this issue Mar 18, 2025 · 1 comment
Labels
css-text-decor-3 Current Work css-text-decor-4 i18n-clreq Chinese language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@xfq
Copy link
Member

xfq commented Mar 18, 2025

https://drafts.csswg.org/css-text-decor-3/#text-emphasis-style-property

The list includes the Unicode P* general category, but not the Sm general category. U+FF5E and U+007E should also be skipped per https://www.w3.org/International/clreq/#id84 and https://www.w3.org/International/clreq/#id85 .

@xfq xfq added css-text-decor-3 Current Work css-text-decor-4 i18n-clreq Chinese language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. labels Mar 18, 2025
@kidayasuo
Copy link

Initially commented here: w3c/jlreq-d#80 (comment)

We discussed this at the JLReq TF meeting on 2025-03-11 (meeting notes to be posted soon). The conclusion was as follows:

  1. Although it is common practice not to attach emphasis marks to punctuation, this should be treated as a guideline rather than a strict rule. If an author or editor intentionally chooses to apply emphasis marks to any character, it should be allowed. Therefore, this rule should not be enforced.
  2. As a convenience feature, it may still be helpful for systems to automatically skip certain character classes (such as punctuation). This makes it easier for users to select a full range of text without worrying about fine details, while still generally aligning with common practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-text-decor-3 Current Work css-text-decor-4 i18n-clreq Chinese 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

2 participants