- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Mon, 31 Oct 2016 04:08:32 +0000
- To: public-css-archive@w3.org
Sounds good. I though there ought to be uses cases for that, and I looked for them in printed material, and failed. So making this explicitely undefined sounds OK. So, what would making this undefined entail? Do we just add a sentence to https://drafts.csswg.org/css-ruby-1/#ruby-layout saying "How this interacts with the initial-letter property is undefined in this level", or do we try to pinpoint the undefinedness to something more more specific? The way I see it, the problem is in : [issue 1 in the ruby spec](https://drafts.csswg.org/css-ruby-1/#issue-ca88244c): > Are internal ruby boxes inline-level? and the way it combines with the [apply line from the initial-letter property](https://drafts.csswg.org/css-inline/#sizing-drop-initials): > Applies to: ::first-letter pseudo-elements and inline-level first child of a block container as well as this sentence: > When a ruby structure is laid out, its base level is laid out on the line, aligned according to its vertical-align property exactly as if its ruby bases were a regular sequence of inline boxes. If “a regular sequence of inline boxes” means that ruby bases are inline-level boxes, then initial-letter should applies. Then we have to determine: * Is the initial-letter box is a child box of the inline-level box it comes from? (is that the thing we leave undefined?) * If yes, how does it influence the margin box of that inline-level box? As far as I can tell from the initial-letter spec, the margin box of the initial letter itself is well defined, but that's not the same question. * If the initial-letter box is not a child of the inline-level box it comes from, then presumably it is a sibling, and presumably that box isn't inline level. Is that right? what happens to this box when it is a child of a ruby ruby-base-container box? [step 2 of Anonymous Ruby Box Generation](https://drafts.csswg.org/css-ruby-1/#anon-gen-inlinize) says it becomes display:inline or display:inline-block. Does that cancel out the effects of the initial-letter property? (is that the thing we leave undefined?) * If it does not, how does [step 3](https://drafts.csswg.org/css-ruby-1/#anon-gen-bare-inlines) work? What's the implication of wrapping a (not inline-level) initial letter box and the rest of the inline-level box it came from into an anonymous inline-level box on the exclusion effect of the initial letter? (is that a thing we leave undefined as well?) -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/654#issuecomment-257210254 using your GitHub account
Received on Monday, 31 October 2016 04:08:38 UTC