w3c / jlreq

Text Layout Requirements for Japanese
https://w3c.github.io/jlreq/
Other
99 stars 16 forks source link

[todo] Create an issue on csswg-drafts regarding adding a function to the 'text-indent' property that ignores full-width spaces #423

Open kidayasuo opened 2 months ago

kidayasuo commented 2 months ago

This is outcome from the F2F meeting on 2024-4-17.


4. White Space Processing & Control Characters

In Japanese text, the style of indenting the first character of a paragraph is usually achieved by inserting a full-width space. To change this paragraph style, it's necessary to ignore this full-width space character at the start. A property that enables this is required.

After reviewing several approaches with Fantasai, Mr. Murakami's proposal to add a function to the 'text-indent' property that ignores full-width spaces was deemed good. This is similar to the 'replace' function in text-autospace that ignores spaces between Japanese and Western text.

Actions

Mr. Murakami will create an issue on csswg-drafts regarding this proposal.

xfq commented 2 months ago

Indeed, and a similar situation exists in Chinese: https://www.w3.org/TR/clreq/#h-note-36