W3C home > Mailing lists > Public > www-style@w3.org > March 2015

[css-grid] Comments about grid item 'display' value and the term "grid-level boxes"

From: Mats Palmgren <mats@mozilla.com>
Date: Thu, 26 Mar 2015 16:11:05 +0000
To: "www-style@w3.org" <www-style@w3.org>
message-id: <55142F99.2030401@mozilla.com>

I have two comments on the following text from "4. Grid Items":
"A grid item establishes a new formatting context for its contents.
The type of this formatting context is determined by its display
value, as usual. The computed display of a grid item is determined
by applying the table in CSS 2.1 Chapter 9.7. However, grid items
are grid-level boxes, not block-level boxes: they participate in
their container's grid formatting context, not in a block
formatting context."

1. It omits that a grid item's 'display' value is blockified.
    Please add the equivalent of this text from Flexbox:

"The display value of a flex item is blockified: if the specified
display of an in-flow child of an element generating a flex
container is an inline-level value, it computes to its block-level
equivalent. (See CSS2.1ยง9.7 [CSS21] and CSS Display [CSS3-DISPLAY]
for details on this type of display value conversion.)"

2. I searched the spec text for "grid-level box" to try to find
    its definition but this is the only occurrence.  This is when
    I realized that the last sentence above *is* the definition of
    "grid-level box", i.e. a box that participate in their
    container's grid formatting context.  I found this a bit
    confusing and would like you to consider reformulating that
    last sentence to make it clear that it's defining the term
    "grid-level box" there, rather than just mentioning a detail
    about them in passing.

Received on Thursday, 26 March 2015 16:11:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:52 UTC