Skip to content

[css-contain] it should be clearer that size containment inhibits effects of contents on intrinsic sizes #4741

Closed
@dbaron

Description

@dbaron

The definition of size containment says:

  1. When calculating the size of the containing box, it must be treated as having no contents.

I think the implication here (given the text about replaced elements following this) is that "calculating the size of the containing box" includes both:

  • finding the resolved values of width and height
  • computing intrinsic sizes

However, I think a literal reading of the sentence implies that it means only the first and not the second. I think it should be clearer that the computation of the intrinsic sizes of the box must also be done as though the box has no contents. It's possible it might also be worth mentioning automatic sizes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions