[css-ruby] effect of line-height on nested ruby containers · Issue #4986 · w3c/csswg-drafts (original) (raw)

There are two cases of nested ruby container: it can be nested within the ruby base, or in ruby annotation. I suppose you are talking about the former.

My understanding is that for ruby container inside another ruby base, such ruby container behaves just like a normal inline element that contributes its line height to the line. When it's nested inside ruby annotation, on the other hand, line height would have no effect, because ruby annotation container doesn't care about line height.