[csswg-drafts] The illustration (and possibly description) for `text-decoration-inset: auto` needs to be updated to reflect the latest clreq (#13746)

AmeroHan has just created a new issue for https://github.com/w3c/csswg-drafts:

== The illustration (and possibly description) for `text-decoration-inset: auto` needs to be updated to reflect the latest clreq ==
According to [Requirements for Chinese Text Layout (clreq)](https://www.w3.org/TR/clreq/#id203) (discussed in [w3c/clreq#716](https://github.com/w3c/clreq/issues/716)):

> By default, the length of interlinear book title marks (type A) and proper noun marks should match the corresponding [character frames](https://www.w3.org/TR/clreq/#term.character-frame). When two titles or proper nouns are adjacent, the adjoining ends of the marks should be shortened to create a visual separation, while the other ends remain unchanged. The shortening should not exceed 1/8 em.

As stated above, only the **adjoining ends** of the text decoration need to be shortened, whereas the current illustration (Figure 1) also shortens the **non‑adjoining ends**. Aside: Firefox 146 also implements the latter.

<img width="223" height="77" alt="Figure 1" src="https://raw.githubusercontent.com/w3c/csswg-drafts/c04dc2a819f94089df03bf3db868b06680300c88/css-text-decor-4/images/decoration-skip-inset.png" />

*Figure 1 Current illustration for "`text-decoration-inset: auto` for `<u>石井</u><u>艾俐俐</u>`"*

To address this, I have created a new illustration, shown in Figure 2. In addition to correcting the underline lengths, I have also highlighted the text boxes to indicate which parts are shortened and which are not.

<img width="240" height="98" alt="Figure 2" src="https://github.com/user-attachments/assets/e1807100-640e-4ad6-bbb2-e8004e6bedd0" />

*Figure 2 The new illustration I created*

## Other related links

- **Gap Analysis**:
  - **Chinese**: [document](https://www.w3.org/International/clreq/gap-analysis/#text_decoration), [issue](https://github.com/w3c/clreq/issues/599) (temporarily outdated)
  - **Japanese**: [document](https://www.w3.org/TR/jpan-gap/#issue397_text_decoration), [issue](https://github.com/w3c/jlreq/issues/397)

CC @fantasai @xfq 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13746 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 30 March 2026 22:45:50 UTC