Skip to content

[css-display] Discrepancies among various run-in definitions #1491

Closed
@Loirooriol

Description

@Loirooriol

The table of display values defines run-in as

inline box with special box-tree-munging rules

Outer Display Roles for Flow Layout defines it as

Run-in elements act like inlines or blocks, depending on the surrounding elements.

And Run-In Layout says

A run-in box behaves exactly as an inline-level box, except [...]

The first definition seems to imply that run-ins are inline boxes, but with some additional special behavior. The third definition seems to imply that run-ins are not inline boxes, but they behave similarly.

Which is it? For example, if some property says it applies to inline boxes, does it apply to run-ins too?

I think the second definition is just an obsolete copy-paste from CSS2. The run-in never acts as a block (but can generate an anonymous block parent).

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