-
Notifications
You must be signed in to change notification settings - Fork 810
[css-display][css-ruby] Does inlinification really need recursion? #1341
Copy link
Copy link
Closed
Labels
Closed Accepted by CSSWG ResolutionChanges backed by a CSSWG resolution.Changes backed by a CSSWG resolution.Tracked in DoCcss-display-3Current WorkCurrent Workcss-ruby-1Current WorkCurrent Work
Description
Metadata
Metadata
Assignees
Labels
Closed Accepted by CSSWG ResolutionChanges backed by a CSSWG resolution.Changes backed by a CSSWG resolution.Tracked in DoCcss-display-3Current WorkCurrent Workcss-ruby-1Current WorkCurrent Work
CSS Display defines inlinification as such:
I think it makes more sense to transform the
flowinner display type intoflow-root. That is, transformblocktoinline-block. Then the box will be an atomic inline, and thus block-level descendants won't break up the inline formatting context. Recursive inlinification is not needed.This seems what Firefox does for ruby. Chrome and Edge don't inlinify at all. https://jsfiddle.net/d1o5k7Ly/1/
It's worth noting that CSS Ruby says "directly contained"
By the way, are inlinization and inlinification synonyms?