Re: [csswg-drafts] [css-ruby] Applicability of width & height to various kinds of ruby boxes (#4974)

The CSS Working Group just discussed `Applicability of width & height to various kinds of ruby boxes`, and agreed to the following:

* `RESOLVED: width and height don't apply to  non-atomic ruby boxes`

<details><summary>The full IRC log of that discussion</summary>
&lt;astearns> topic: Applicability of width &amp; height to various kinds of ruby boxes<br>
&lt;emilio> github: https://github.com/w3c/csswg-drafts/issues/4974<br>
&lt;astearns> github: https://github.com/w3c/csswg-drafts/issues/4974<br>
&lt;emilio> fantasai: yeah, I think based on previous resolutions they do not apply<br>
&lt;emilio> florian: yeah, if we say they're like inline boxes we should say it doesn't apply on any ruby boxes<br>
&lt;emilio> fantasai: maybe we can't, but if we had a ruby annotation box that is a replaced element or a flow-root of some kind, width and height would presumably apply to that right?<br>
&lt;emilio> florian: we inlinify these<br>
&lt;emilio> fantasai: but it could be a replaced element or other atomic inline<br>
&lt;emilio> fantasai: so I think this applies as long as the inner display type is `flow` and it is not replaced<br>
&lt;emilio> florian: does the box fixup allow you to actually replace one of these?<br>
&lt;emilio> fantasai: I think it would, we may need to fix the fixup?<br>
&lt;emilio> fantasai: the in-between boxes should probably not be replaceable, but the innermost ones probably show<br>
&lt;emilio> florian: I don't see a point in allowing an annotation to be replaced<br>
&lt;emilio> myles: so this is an image inside an annotation with display: ruby-text?<br>
&lt;emilio> fantasai: yeah, if we allowed that then presumably width / height should apply<br>
&lt;emilio> florian: The other case is whether you can make it a flow-root<br>
&lt;emilio> xidorn: I don't think you can make them flow-root because the display values are separate<br>
&lt;emilio> fantasai: what about orthogonal writing-modes?<br>
&lt;emilio> florian: we have an issue about that<br>
&lt;emilio> oriol: if you have display: block ruby, then the ruby container is wrapped in a block container<br>
&lt;emilio> oriol: so maybe width / height should apply to the container?<br>
&lt;emilio> koji: can you make it a block container?<br>
&lt;emilio> fantasai: it creates two boxes<br>
&lt;emilio> fantasai: one outside and one inside<br>
&lt;emilio> florian: should width / height should apply to the block wrapper?<br>
&lt;emilio> xidorn: regarding writing-mode, I think we always use the writing-mode of the line<br>
&lt;emilio> fantasai: separate issue<br>
&lt;emilio> RESOLVED: width and height don't apply to  non-atomic ruby boxes<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4974#issuecomment-624655513 using your GitHub account

Received on Wednesday, 6 May 2020 13:39:27 UTC