W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Dec 2019 12:07:19 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-542538304-1577362038-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC