[csswg-drafts] `:lang(lzh)` elements in non-Taiwanese CJK elements should not switch font to Traditional Chinese one (#13050)

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

== `:lang(lzh)` elements in non-Taiwanese CJK elements should not switch font to Traditional Chinese one ==
Old Chinese literal text (known as <i>Kanbun</i> in Japan) is occasionally quoted in non-Chinese region. However, a Taiwanese or Hong Kongese font is always used if you specifiy `lang=lzh`:

```html
<div lang=ja>
  <blockquote lang=lzh>子曰、後生可畏、焉知来者之不如今也</blockquote>

  <p lang=ojp-t-lzh>子曰く、<ruby>後生<rp>(</rp><rt>こうせい</rt><rp>)</rp></ruby><ruby>畏<rp>(</rp><rt>おそ</rt><rp>)</rp></ruby>るべし。いずくんぞ<ruby>来者<rp>(</rp><rt>らいしゃ</rt><rp>)</rp></ruby>の今にしかざるを知らんや</p>

  <p lang=ja-t-lzh>年が若いとは、将来に希望があることだ。今後の世代が、現在の世代を乗り越えていかないとはいえないのだ。</p>
  
  <blockquote lang=lzh>子曰、道聴而塗説、徳之棄也</blockquote>

  <p lang=ojp-t-lzh>子曰く、道に聴きて<ruby>塗<rp>(</rp><rt>みち</rt><rp>)</rp></ruby>に説くは、徳これ棄つるなり</p>

  <p lang=ja-t-lzh>
聞きかじったことを右から左へ受け売りして得意がる。これでは徳は身につかない。</p>
</div>
```

https://codepen.io/tats-u/pen/MYKPoXa

<img width="805" height="250" alt="Image" src="https://github.com/user-attachments/assets/6488a665-bbf5-4d8e-a08e-6af8a706dde8" />

A text marked as `lzh` is not concerned with _modern_ Chinese font specifications _today_. It should be respect the language of ancestor elements whose language is CJK.

- Expected: rendered using a Japanese font (if ancestor elements are `ja`)
- Actual: rendered using a Taiwanese (traditional Chinese font

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


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

Received on Saturday, 1 November 2025 09:40:29 UTC