[csswg-drafts] [css-ruby] How is additional leading calculated? (#5963)

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

== [css-ruby] How is additional leading calculated? ==
https://drafts.csswg.org/css-ruby/#line-height says:

> However, if the line-height specified on the ruby container is less than the distance between the top of the top ruby annotation container and the bottom of the bottom ruby annotation container, then additional leading is added on the appropriate side(s) of the ruby base container such that if a block consisted of three lines each containing ruby identical to this, none of the ruby containers would overlap.

I think this is bit fuzzy in two ways:   
    * "top of the top to bottom of the bottom", as well as line-height aren't just abstract distances, but positioned segments, so one can be smaller than the other and still stick out
    * I am not convinced that determining what side(s) is appropriate is self-evident

(@dbaron was also concerned about that text in https://lists.w3.org/Archives/Public/www-style/2014Dec/0366.html, though the specifics of his concerns are somewhat outdated due to more recent edits clarifying a few things)   

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


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

Received on Tuesday, 9 February 2021 07:51:11 UTC