Skip to content

Punctuation not skipped by default for emphasis marks #238

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
r12a opened this issue Feb 4, 2020 · 4 comments
Open

Punctuation not skipped by default for emphasis marks #238

r12a opened this issue Feb 4, 2020 · 4 comments
Labels
doc:clreq Used for gap analysis (only) to indicate target document. gap The first comment in this issue is read by the gap-analysis document. i:emphasis Emphasis & highlighting l:zh Chinese p:advanced s:hani Chinese script x:clreq This affects the clreq group of languages. x:jpan This affects the jlreq group of languages.

Comments

@r12a
Copy link
Contributor

r12a commented Feb 4, 2020

This issue is applicable to Chinese and Japanese.

Punctuation marks should be skipped by default for emphasis marks in Chinese and Japanese.

More:

The GAP

Gecko and Blink skip some punctuation marks, but WebKit does not skip any punctuation marks.

css-text-decor-3 The CSS Text specification currently specifies the list of punctuation to be skipped.

CSSWG issue #11951 discusses whether tildes should be skipped.

Gecko and Blink skips the punctuation marks except for U+FF5E FULLWIDTH TILDE [~] and U+007E TILDE [~].

Webkit do not skip the punctuation marks at all.

Priority

Since a workaround is available (authors can achieve this by using span elements on the punctuation marks to remove the emphasis marks), and in many cases emphasis marks only mark one word or phrase, this gap is being labelled as advanced.

Tests & results

Interactive test, text-emphasis-style: circle; will skip punctuation in Chinese.

Interactive test, text-emphasis-style: circle; will skip punctuation in Japanese.

Action taken

tbd

Outcomes

tbd

@r12a r12a added gap The first comment in this issue is read by the gap-analysis document. doc:clreq Used for gap analysis (only) to indicate target document. p:advanced i:text_decoration Other inline features labels Feb 4, 2020
@r12a
Copy link
Contributor Author

r12a commented Feb 4, 2020

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point.

Relevant gap analysis documents include:
ChineseJapanese

@xfq
Copy link
Member

xfq commented Feb 5, 2020

Related: #96

@r12a r12a added the x:clreq This affects the clreq group of languages. label May 11, 2021
@r12a r12a moved this to Spec ready, pending bug report in Gap-analysis pipeline Jun 20, 2024
@r12a r12a added s:hani Chinese script i:emphasis Emphasis & highlighting l:zh Chinese and removed i:text_decoration Other inline features labels Jun 29, 2024
@xfq
Copy link
Member

xfq commented Mar 18, 2025

Added more content to gap description.

@xfq
Copy link
Member

xfq commented Mar 18, 2025

I will temporarily remove Korean because we haven't collected any requirements for skipping punctuation in Korean yet. Once we have information, I will add it back.

@xfq xfq added the x:jpan This affects the jlreq group of languages. label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:clreq Used for gap analysis (only) to indicate target document. gap The first comment in this issue is read by the gap-analysis document. i:emphasis Emphasis & highlighting l:zh Chinese p:advanced s:hani Chinese script x:clreq This affects the clreq group of languages. x:jpan This affects the jlreq group of languages.
Projects
Status: Spec ready, pending bug report
Development

No branches or pull requests

2 participants