w3c / jlreq

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

Boten marks lack wide support #173

Open r12a opened 4 years ago

r12a commented 4 years ago

This issue is applicable to Japanese & Chinese, in particular.

Chinese and Japanese have a native way of indicating emphasis for short ranges of inline text which involves placing a small mark above or below the characters being emphasised in horizontal text, and to the right/left in vertical text.

The actual marks used vary, depending on author preference, although some marks are more common in vertical text and others in horizontal. Typically, dots, circles, or 'sesame seed' shapes are used.

The following illustrates this: Slide0210-3107917968

More:

css-text-decor CSS has several properties for displaying emphasis marks, and colouring them, positioning them, etc.

The GAP

The tests below check for support of the most common shapes, and that the positioning can be managed. When this gap was initially raised, Chrome (and legacy Edge) did not support display of emphasis marks, but now all major browsers support them.

Tests & results:

i18n test suite, CSS3 Text decoration, emphasis marks

Action taken

Document the layout requirements for Chinese and Japanese.

Outcomes

Boten marks are now supported in all 3 major engines: Gecko, Blink, and Webkit.

r12a commented 4 years ago

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the Editor's draft of the document. Proposals for changes or discussion of the content can be made by adding comments below this point.

Relevant gap analysis documents include: _ChineseJapanese_

xfq commented 1 year ago

Added links to clreq and jlreq.