w3c / w3c/csswg-drafts

[css-text-decor] "grapheme cluster" versus "character" inconsistency in definition of text-emphasis

Open
#4,236 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Commenter Response Pending css-text-decor-3
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

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

The value "" for the text-emphasis-style property says:

Display the given string as marks. Authors should not specify more than one character in . The UA may truncate or ignore strings consisting of more than one grapheme cluster.

Shouldn't "grapheme cluster" be replaced by "character" to match the second sentence.

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

Read the text-emphasis-style definition at the linked CSS Text Decoration section, especially the two sentences describing the value. Check the surrounding terminology and determine whether “grapheme cluster” or “character” is consistent with the intended requirement; done means the specification wording is resolved and updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.