Re: [csswg-drafts] [css-ruby] Limiting leading/trailing space with ruby-align:space-around (#5918)

The route reason of this is how to find boundaries of ruby base from attached annotation characters as in [JLReq note](https://www.w3.org/TR/jlreq/#n121). If we don't have a limit of maximum 1em (or 1.5em) of annotation character (or half of base character) for combination of long base and short annotation, we could easily miss the outermost characters of base to be not in the ruby base text.
For cases shown in examples in simple-ruby or JLReq, it is quite easy to tell where is the ruby base text in a long text like:
![image](https://user-images.githubusercontent.com/3918572/108034834-76b72580-7079-11eb-998f-5b5b1d033944.png)
but, in some cases like in animations (and daily use cases in Japanese cultural area) it's quite common to place short annotation for long title, like [あの日見た花の名前を僕達はまだ知らない。](https://www.anohana.jp/tv/) (title contains '。', and officially annotated as 'あの花' or 'あのはな') or [私、能力は平均値でって言ったよね!](https://noukin-anime.com/news/detail.php?id=1080829) (title contains '!', and annotated as 'のうきん'), and it's quite difficult to tell their boundary if someone does not have enough information, like:
![image](https://user-images.githubusercontent.com/3918572/108035547-6bb0c500-707a-11eb-9dc2-32874b6b797e.png)

-- 
GitHub Notification of comment by himorin
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5918#issuecomment-779664471 using your GitHub account


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

Received on Tuesday, 16 February 2021 08:14:47 UTC