[jlreq] Additional aspects of handling boten marks (#338)

r12a has just created a new issue for https://github.com/w3c/jlreq:

== Additional aspects of handling boten marks ==
<i class="meta">This issue is applicable to Japanese & Chinese in particular.</i>

Brief_intro_illustrating_the_issue
<a href="https://github.com/w3c/jlreq/issues/173">Issue jlreq/173</a> looks at basic support for boten (emphasis) marks and their positioning.  This gap report describes some additional aspects of boten handling that need further investigation.

Additional requirements arose while the text was being written for CSS. They relate to text that is annotated with ruby at the same time as annotation marks. The conclusions were:

<ol>
<li> Emphasis marks go outside ruby.</li>
<li>If ruby only spans part of the emphasised word, emphasis marks stay as close as possible to the base.</li>
<li>Where a ruby annotation is hidden or empty, the emphasis marks should continue at the same height.</li>
</ol>

JLReq also requires that emphasis marks not appear over commas, full stops and brackets.

There are currently no tests for these behaviours, and no requirements in jlreq for the former (with ruby). <strong>Need to take a closer look.</strong>

JLReq calls out the usual practise of using sesame shaped boten for vertical text, and bullets for horizontal. Controls for this exist in CSS, and tests show that it is supported by the browsers that support boten.

The default side for boten is to the right of vertical lines and above horizontal lines, according to JLReq. CSS controls allow this positioning to be set by the author, and in fact it is the default in both browsers that support boten for text where a lang tag identifies it as Japanese.



Please view or discuss this issue at https://github.com/w3c/jlreq/issues/338 using your GitHub account


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

Received on Friday, 2 September 2022 15:46:32 UTC