Skip to content

[css-grid] Sizing Grid Containers fails on floats #1734

Closed

Description

@fantasai

The spec says

A grid container is sized using the rules of the formatting context in which it participates:

  • As a block-level box in a block formatting context, it is sized like a block box that establishes a formatting context, with an auto inline size calculated as for in-flow block boxes.

This is fine for in-flow block boxes, but for floated boxes (or abspos) the grid container should shrinkwrap. I think perhaps it meant "non-replaced block boxes" here.

Activity

  1. added
    Closed Accepted as Obvious Bugfix
    on Sep 27, 2017
  2. added
    Commenter Satisfied
    on Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed Accepted as Obvious BugfixCommenter SatisfiedTracked in DoCcss-grid-1

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions