Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-ruby][css-display] Clarify that the display: block ruby wrapper is a block container #9265

Open
Loirooriol opened this issue Aug 29, 2023 · 0 comments
Labels
css-display-3 Current Work css-ruby-1 Current Work

Comments

@Loirooriol
Copy link
Contributor

https://drafts.csswg.org/css-display-3/#valdef-display-ruby

The element generates a ruby container box and establishes a ruby formatting context in addition to [...] generating a wrapper box of the appropriate outer display type

https://drafts.csswg.org/css-ruby-1/#block-ruby

If an element has an inner display type of ruby and an outer display type other than inline, then it generates two boxes: a principal box of the required outer display type type, and an inline-level ruby container.

So for display: block ruby, both specs say that the wrapper is block-level, but they don't say that it's a block container (that's the only possibility that makes sense to me).

@Loirooriol Loirooriol added css-display-3 Current Work css-ruby-1 Current Work labels Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-display-3 Current Work css-ruby-1 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant