Skip to content

[css-display] Inlinified layout-internal not well-defined #1582

Closed

Description

@Loirooriol

Now that #1390 removed the issue in the spec, the spec clearly says that e.g. an element with display: table-row that is inlinified should have an inline outer display type and a table-row inner display type. But this kind of box is not defined anywhere!

From #1390 it seems that inlinification should not affect layout-internal boxes.

Activity

  1. SelenIT commented on Jul 6, 2017

    @SelenIT
    Collaborator

    Doesn't anonymous box fixup occur in that case, so such box ends up being an inline table?

  2. Loirooriol commented on Jul 6, 2017

    @Loirooriol
    ContributorAuthor

    @SelenIT If it's not possible for a layout-internal box to be inlinified, the spec should say so. However, I think layout-internal boxes are inlinified, because inlinification happens before the creation of intermediary anonymous boxes, as explained in the note:

    Note: There are two methods used to fix up box types when a box is mismatched to its context. One is transformation of the computed value of display, such as blockification and inlinification described here. The other, taking place during box tree construction (after computed values have been determined), is the creation of intermediary anonymous boxes, such as happens in tables, ruby, and flow layout.

    Therefore, inlinification should have no effect on layout-internal boxes, and then they will generate anonymous boxes after inlinification.

  3. fantasai commented on Jul 12, 2017

    @fantasai
    Collaborator

    I'm not entirely sure what the issue is here, but I've clarified the spec by pointing out what @SelenIT describes in #1582 (comment)

    Let me know if there's anything further to address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions