- From: <bugzilla@jessica.w3.org>
- Date: Wed, 02 May 2012 03:43:34 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16906
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.
http://dev.w3.org/csswg/css3-grid-layout/#computed-values-for-grid-rows-and-grid-c
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).
http://www.w3.org/TR/CSS21/cascade.html#computed-value
http://www.w3.org/TR/CSS21/cascade.html#inheritance
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