W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > May 2012

[Bug 16906] New: computed values of grid-rows / grid-columns should not depend on layout or the element's children

From: <bugzilla@jessica.w3.org>
Date: Wed, 02 May 2012 03:43:34 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-16906-5148@http.www.w3.org/Bugs/Public/>

           Summary: computed values of grid-rows / grid-columns should not
                    depend on layout or the element's children
           Product: CSS
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Grid Layout
        AssignedTo: alexmog@microsoft.com
        ReportedBy: dholbert@mozilla.com
         QAContact: public-css-bugzilla@w3.org

The CSS3 Grid ED currently says this about the grid-rows & grid-columns
properties' computed style:
# 6.5.2. Computed Values for Grid-rows and Grid-columns
# The computed size of all Grid tracks as returned for the ‘grid-rows’ and
# ‘grid-columns’ properties are normalized to used pixel values. All Grid
# tracks are included in the computed value reported for ‘grid-rows’ and
# ‘grid-columns’ regardless of how the Grid tracks were created, e.g.
# implicit tracks may be created by Grid items referencing a Grid line not
# explicitly defined by a ‘grid-rows’ or ‘grid-columns’ property.


So: that defines the computed style of these properties in such a way that they
depend on the children's computed styles.  (the grid items)

That's problematic -- per CSS21 "Computed values" definition, the computed
value never requires layout and is also what gets inherited (so it's a bit
circular to have it influenced by the children).


I believe this chunk of the CSS Grid spec intends to refer to the "Used value",
not the "Computed value".

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 2 May 2012 03:43:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:39 UTC