w3c / w3c/clreq

Which punctuation marks need to be adjusted at the end of each line?

Open
#779 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

i:spacing
Dominant language
HTML
Stars
809
Forks
66
Avg merge
19m
Merged PRs (30d)
1

Description

In css-text, only fullwidth closing punctuation at the end of each line are adjusted: https://www.w3.org/TR/css-text-4/#text-spacing-trim-property

CLReq currently adjusts every one-em-wide punctuation at the end of each line, in accordance with the national standard of Mainland China: https://www.w3.org/TR/clreq/#id104 . This also includes commas, periods, secondary commas, colons, semicolons, question marks, and exclamation marks.

The behavior seems inconsistent and may need to be discussed.


Chinese:

CSS标准里只挤压行尾的全角结束括号:https://www.w3.org/TR/css-text-4/#text-spacing-trim-property

CLReq依照中国大陆国标,挤压所有行尾的一个字宽的标点,包括逗号、句号、顿号、冒号、分号、问号、感叹号也是:https://www.w3.org/TR/clreq/#id104

行为似乎不一致,这个可能需要讨论一下。

Related: https://github.com/w3c/clreq/issues/446

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 by comparing the CSS Text 4 text-spacing-trim section with the CLReq section cited in the issue, then review related issue #446. Done means the punctuation behavior has an agreed resolution and the relevant CLReq guidance reflects it.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation, internationalization
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.