w3c / w3c/clreq

Punctuation not skipped by default for emphasis marks

Open
#238 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc:clreq gap i:emphasis l:zh p:advanced s:hani x:clreq x:jpan
Dominant language
HTML
Stars
809
Forks
66
Avg merge
19m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS Text text-emphasis-style specification and the linked CSSWG issue #11951, then inspect the Chinese and Japanese interactive tests in character_phrase_tests issues #68 and #69. Determine the intended punctuation behavior and document the required action and outcomes; both fields are currently marked TBD.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.