[csswg-drafts] [css-ruby][css-display] Clarify that the `display: block ruby` wrapper is a block container (#9265)

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

== [css-ruby][css-display] Clarify that the `display: block ruby` wrapper is a block container ==
https://drafts.csswg.org/css-display-3/#valdef-display-ruby

> The element generates a [ruby container](https://www.w3.org/TR/css-ruby-1/#ruby-container) box and establishes a [ruby formatting context](https://www.w3.org/TR/css-ruby-1/#ruby-formatting-context) in addition to [...] generating a wrapper box of the appropriate [outer display type](https://drafts.csswg.org/css-display-3/#outer-display-type)

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

> If an element has an [inner display type](https://drafts.csswg.org/css-display-4/#inner-display-type) of [ruby](https://drafts.csswg.org/css-ruby-1/#valdef-display-ruby) and an [outer display type](https://drafts.csswg.org/css-display-4/#outer-display-type) other than [inline](https://drafts.csswg.org/css-display-4/#valdef-display-inline), then it generates two boxes: a principal box of the required outer display type type, and an inline-level [ruby container](https://drafts.csswg.org/css-ruby-1/#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).

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


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

Received on Tuesday, 29 August 2023 22:53:33 UTC