Skip to content

Commit a7ff686

Browse files
committed
[css-grid] Temporarily commented out the section on non-children grid items. May punt to next level.
1 parent 594ab74 commit a7ff686

2 files changed

Lines changed: 21 additions & 18 deletions

File tree

css-grid/Overview.html

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,9 @@ <h2 class="no-num no-toc no-ref" id=contents><span class=content>Table of conten
105105
Grid Areas</a></ul><li><a href=#grid-model><span class=secno>3</span>
106106
Grid Layout Box Model</a><ul class=toc><li><a href=#grid-containers><span class=secno>3.1</span>
107107
Grid Containers: the <span data-link-type=value>grid</span> and <span class=css data-link-type=maybe>inline-grid</span> <span class=property data-link-type=propdesc title=display>display</span> values</a></ul><li><a href=#grid-items><span class=secno>4</span>
108-
Grid Items</a><ul class=toc><li><a href=#position-grid><span class=secno>4.1</span>
109-
Non-children Grid Items</a><li><a href=#abspos-items><span class=secno>4.2</span>
110-
Absolutely-positioned Grid Children</a><li><a href=#visibility-collapse><span class=secno>4.3</span>
111-
Collapsed Grid Items: the <span class=property data-link-type=propdesc title=visibility>visibility</span> property</a><li><a href=#order-property><span class=secno>4.4</span>
108+
Grid Items</a><ul class=toc><li><a href=#abspos-items><span class=secno>4.1</span>
109+
Absolutely-positioned Grid Children</a><li><a href=#visibility-collapse><span class=secno>4.2</span>
110+
Collapsed Grid Items: the <span class=property data-link-type=propdesc title=visibility>visibility</span> property</a><li><a href=#order-property><span class=secno>4.3</span>
112111
Reordered Grid Items: the <span class=property data-link-type=propdesc title=order>order</span> property</a></ul><li><a href=#grid-definition><span class=secno>5</span>
113112
The Explicit Grid</a><ul class=toc><li><a href=#track-sizing><span class=secno>5.1</span>
114113
Track Sizing: the <span class=property data-link-type=propdesc title=grid-template-rows>grid-template-rows</span> and <span class=property data-link-type=propdesc title=grid-template-columns>grid-template-columns</span> properties</a><ul class=toc><li><a href=#named-lines><span class=secno>5.1.1</span>
@@ -734,28 +733,30 @@ <h2 data-level=4 id=grid-items><span class=secno>4 </span><span class=content>
734733
Future display types may generate anonymous containers (e.g. ruby) or otherwise mangle the box tree (e.g. run-ins).
735734
It is intended that grid item determination run after these operations.
736735

736+
<!--
737+
<h3 id="position-grid">
738+
Non-children Grid Items</h3>
737739
738-
<h3 data-level=4.1 id=position-grid><span class=secno>4.1 </span><span class=content>
739-
Non-children Grid Items</span><a class=section-link href=#position-grid>§</a></h3>
740-
741-
<p class=issue>
740+
<p class="issue">
742741
This is a proposal to create the ability to have descendants of a grid item participate in a grid layout,
743742
similar to the behavior defined by the Template Layout module.
744743
745744
<p>
746745
A descendant of the grid can be pulled out of flow and participate directly in the grid
747-
by assigning it <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-position-3/#position title=position>position: grid</a>.
748-
An element with <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-position-3/#position title=position>position: grid</a> is pulled out of flow and participates as a grid item
749-
belonging to the first ancestor with <a class=css data-link-type=maybe href=#propdef-display title=display>display: grid</a>.
746+
by assigning it <span data-link-type="maybe" class="css">position: grid</span>.
747+
An element with <span data-link-type="maybe" class="css">position: grid</span> is pulled out of flow and participates as a grid item
748+
belonging to the first ancestor with <span data-link-type="maybe" class="css">display: grid</span>.
750749
If the element is positioned using named lines or slots,
751-
it belongs to the first ancestor with <a class=css data-link-type=maybe href=#propdef-display title=display>display: grid</a> that has all of the corresponding named lines/slots.
750+
it belongs to the first ancestor with <span data-link-type="maybe" class="css">display: grid</span> that has all of the corresponding named lines/slots.
752751
If no such ancestor exists, the item remains in flow.
753752
754-
<p class=issue>
753+
<p class="issue">
755754
Alternatively, the item can just go into the first grid,
756-
and missing names are treated as <a data-link-for="<grid-line>" data-link-type=value href=#grid-placement-auto>auto</a>.
755+
and missing names are treated as <a value for="<grid-line>">auto</a>.
756+
-->
757+
757758

758-
<h3 data-level=4.2 id=abspos-items><span class=secno>4.2 </span><span class=content>
759+
<h3 data-level=4.1 id=abspos-items><span class=secno>4.1 </span><span class=content>
759760
Absolutely-positioned Grid Children</span><a class=section-link href=#abspos-items>§</a></h3>
760761

761762
<p>
@@ -782,7 +783,7 @@ <h3 data-level=4.2 id=abspos-items><span class=secno>4.2 </span><span class=cont
782783
elements that are absolutely-positioned to a <a href=#grid-container>grid container</a>
783784
do not take up space or otherwise participate in the layout of the grid.
784785

785-
<h3 data-level=4.3 id=visibility-collapse><span class=secno>4.3 </span><span class=content>
786+
<h3 data-level=4.2 id=visibility-collapse><span class=secno>4.2 </span><span class=content>
786787
Collapsed Grid Items: the <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/visufx.html#propdef-visibility title=visibility>visibility</a> property</span><a class=section-link href=#visibility-collapse>§</a></h3>
787788
<!--
788789
<p>
@@ -796,7 +797,7 @@ <h3 data-level=4.3 id=visibility-collapse><span class=secno>4.3 </span><span cla
796797
Ideas welcome, please post them to the list.
797798

798799

799-
<h3 data-level=4.4 id=order-property><span class=secno>4.4 </span><span class=content>
800+
<h3 data-level=4.3 id=order-property><span class=secno>4.3 </span><span class=content>
800801
Reordered Grid Items: the <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-flexbox-1/#order title=order>order</a> property</span><a class=section-link href=#order-property>§</a></h3>
801802

802803
<p>

css-grid/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ <h2 id="grid-items">
647647
Future display types may generate anonymous containers (e.g. ruby) or otherwise mangle the box tree (e.g. run-ins).
648648
It is intended that grid item determination run after these operations.
649649

650-
650+
<!--
651651
<h3 id="position-grid">
652652
Non-children Grid Items</h3>
653653
@@ -667,6 +667,8 @@ <h3 id="position-grid">
667667
<p class="issue">
668668
Alternatively, the item can just go into the first grid,
669669
and missing names are treated as <a value for="<grid-line>">auto</a>.
670+
-->
671+
670672

671673
<h3 id="abspos-items">
672674
Absolutely-positioned Grid Children</h3>

0 commit comments

Comments
 (0)