[csswg-drafts] [css-ruby] Size and position of empty ruby level containers (#4631)

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

== [css-ruby] Size and position of empty ruby level containers ==
The spec currently says:
> Each *ruby base container* is sized and positioned to contain exactly all of its *ruby bases*’ margin boxes.

and
> Each *ruby annotation container* is sized and positioned to contain exactly all of its *ruby annotations*’ margin boxes.

However, it is unclear what should happen when a ruby level container doesn't have any child.

I suggest that for empty ruby base container, it should probably behave as if there is an empty ruby base inside, so that it would laid out like a normal empty inline element.

I'm not sure what would be a useful behavior for ruby annotation container. I kinda tend to think that it should keep being zero size in that case, but we may need to define its position somehow as well?

This issue is raised because of [a bug report](https://bugzilla.mozilla.org/show_bug.cgi?id=1603354) to Gecko after [I changed the behavior](https://bugzilla.mozilla.org/show_bug.cgi?id=1565681) to match the spec.

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

Received on Thursday, 26 December 2019 12:07:21 UTC