- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 May 2020 13:26:45 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `line height on ruby boxes`, and agreed to the following: * `RESOLVED: line-height on the ruby container doesn't affect the boxes inside` * `RESOLVED: ruby containers, ruby bases and ruby base containers act like inline boxes, we'll use line-height as an example and call out exceptions in the spec` * `RESOLVED: line-height doesn't apply to annotations or annotation containers` <details><summary>The full IRC log of that discussion</summary> <emilio> topic: line height on ruby boxes<br> <emilio> github: https://github.com/w3c/csswg-drafts/issues/4979<br> <emilio> florian: spec should say whether line-height applies to the inside of the ruby when applied to the ruby container box<br> <emilio> florian: and whether it applies to the inside ruby boxes<br> <fantasai> sgtm<br> <emilio> florian: I think we should define it to _not_ do anything on those<br> <emilio> florian: seems to be what FF does<br> <emilio> florian: and I don't think there's a strong use case for it<br> <emilio> xidorn: I'm slightly surprised<br> <emilio> xidorn: I think in FF if you apply the line-height to the ruby base it would apply<br> <emilio> florian: may have mistested<br> <emilio> florian: do we agree that line-height on the ruby container does nothing to its inside?<br> <emilio> fantasai: so it doesn't affect the contents but affects the line, right?<br> <emilio> florian: yes<br> <emilio> fantasai: I think anything else would be weird<br> <dbaron> I think this all sounds fine.<br> <emilio> RESOLVED: line-height on the ruby container doesn't affect the boxes inside<br> <emilio> florian: now about ruby-base<br> <emilio> florian: I think there's two things that are reasonable and one that doesn't<br> <emilio> florian: does nothing would be ok<br> <emilio> florian: affects the line is ok<br> <emilio> xidorn: I think in FF it only applies to the line if you set it on the base and container<br> <emilio> florian: that seems fine<br> <emilio> astearns: can we test this and confirm?<br> <emilio> fantasai: there's a first question which is, does it have an effect on ruby annotations / ruby annotation containers?<br> <fantasai> s/first/another/<br> <emilio> florian: just tested above and setting line-height on the ruby base does affect the line<br> <emilio> myles: doesn't this resolution cause the height to double up?<br> <emilio> xidorn: it wouldn't it's just as if you'd set it on a span in block layout<br> <emilio> fantasai: I think making them behave like inlines to the extent possible is reasonable<br> <emilio> myles: line-height on a span is not the same as doing it in the block<br> <emilio> florian: yeah, this needs phrasing on the spec to match what inlines do<br> <myles> s/line-height on a span is not the same as doing it in the block/using the maximum value of two nested elements is not exactly the same as how <span> interact with line-height/<br> <emilio> astearns: is there any other property that we should include in the resolution?<br> <emilio> fantasai: we shouldn't have a list of properties, we should say that it should behave like inline boxes<br> <emilio> koji: agree, we should say that ruby boxes are the same as inline boxes, except for some behavior changes. Why do we need to confirm each property separately?<br> <emilio> florian: the spec was a bit vague in the past, so want to confirm incrementally<br> <emilio> florian: we can resolve that and save some time<br> <emilio> fantasai: I think there's value to go through the list, we don't have consensus on how vertical-align behaves and such<br> <emilio> fantasai: though the spec should be worded generically<br> <emilio> koji: so we shouldn't put each property that behaves the same in the spec, right?<br> <emilio> fantasai: right, though we might put some as examples, but we shouldn't build an exclusive list<br> <emilio> RESOLVED: ruby containers, ruby bases and ruby base containers act like inline boxes, we'll use line-height as an example and call out exceptions in the spec<br> <emilio> florian: two follow-up questions: for ruby annotations, and their containers, does line-height do anything?<br> <emilio> florian: I think the answer is no<br> <emilio> florian: because they're kind of like rows, and line-height doesn't affect layout<br> <emilio> fantasai: it does, they take up spaces no the line<br> <emilio> florian: they need to align so there is some kind of line box happening<br> <emilio> s/florian/fantasai<br> <emilio> fantasai: so I think we should say it should not apply because you can set line-height and such on the annotation container<br> <emilio> fantasai: because it's anonymous so the font-size is inherited<br> <emilio> fantasai: so I think we should say it doesn't apply<br> <emilio> florian: I disagree with one intermediate point but the conclusion remains true<br> <emilio> florian: anybody thinks that line-height should apply to annotations / annotation-container?<br> <emilio> xidorn: I don't see how it can be useful<br> <emilio> koji: did you test browsers?<br> <emilio> florian: yes. For chrome is harder to test because the model isn't that close, I don't think it has annotation containers in their current implementation<br> <emilio> florian: but yes, in FF line-height doesn't do anything<br> <emilio> koji: ok<br> <emilio> RESOLVED: line-height doesn't apply to annotations or annotation containers<br> <fantasai> Here's Xidorn's issue : https://lists.w3.org/Archives/Public/www-style/2015Mar/0181.html<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4979#issuecomment-624648356 using your GitHub account
Received on Wednesday, 6 May 2020 13:26:47 UTC