8000 Generated. Do not edit! · xfq/csswg-drafts@68e76f5 · GitHub
Skip to content

Commit 68e76f5

Browse files
committed
Generated. Do not edit!
1 parent 145bd3f commit 68e76f5

1 file changed

Lines changed: 50 additions & 59 deletions

File tree

css3-layout/Overview.html

Lines changed: 50 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,14 @@
3535

3636
<h1>CSS Grid Template Layout Module</h1>
3737
<!--=================================================================-->
38-
<<<<<<< local
3938
<h2 class="no-num no-toc" id=longstatus-date-3-august-2004>Editor's Draft
4039
23 May 2012</h2>
41-
=======
42-
<h2 class="no-num no-toc" id=editors-draft-17-may-2012>Editor's Draft 17
43-
May 2012</h2>
44-
>>>>>>> other
4540

4641
<dl>
4742
<dt>This version:
4843

4944
<dd><a
50-
<<<<<<< local
5145
href="http://www.w3.org/TR/2012/ED-css3-layout-20120523/">http://www.w3.org/TR/2012/ED-css3-layout-20120523/</a>
52-
=======
53-
href="http://www.w3.org/TR/2012/ED-css3-layout-20120517/">http://www.w3.org/TR/2012/ED-css3-layout-20120517/</a>
54-
>>>>>>> other
5546

5647

5748
<dt>Latest version:
@@ -122,7 +113,7 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
122113
arbitrary slots so that the visual order becomes independent of the
123114
document order.
124115

125-
<p>The <a href="#lsquoslotrsquo-pseudo-element."><code
116+
<p>The <a href="#slot-pseudo-element."><code
126117
class=css>::slot()</code>’ pseudo-element</a> allows to style the slots
127118
(backgrounds, borders, etc.)
128119

@@ -430,10 +421,11 @@ <h3 id=summary-and-examples><span class=secno>1.1. </span>Summary and
430421
<p>The properties in this specification work by associating a layout grid
431422
with an element. Rather than letting an element lay out its descendants in
432423
a single flow, the policy defined in this module gives an element a
433-
<span>grid template,</span> which is a set of <span>slots</span> aligned
434-
to an invisible grid, where each slot is a separate flow. The descendants
435-
are given a ‘<a href="#flow0"><code class=property>flow</code></a>
436-
property to designate the slot into which they flow.
424+
<span>grid template,</span> which is a set of <a href="#slot">slots</a>
425+
aligned to an invisible grid, where each slot is a separate flow. The
426+
descendants are given a ‘<a href="#flow0"><code
427+
class=property>flow</code></a>’ property to designate the slot into
428+
which they flow.
437429

438430
<p>Because layouts on the Web have to adapt to different window and paper
439431
sizes, the rows and columns of the grid can be made fixed or flexible in
@@ -1731,9 +1723,9 @@ <h3 id=slot-sizes><span class=secno>2.6. </span>Calculating the size of the
17311723
class=property>margin-left</code></a>’, ‘<a
17321724
href="#margin-right"><code class=property>margin-right</code></a>’,
17331725
etc., that is set on it by means of the <a
1734-
href="#lsquoslotrsquo-pseudo-element."><code
1735-
class=css>::slot()</code>pseudo-element</a>). Any ‘<code
1736-
class=css>auto</code>’ margins are counted as 0 in this case.
1726+
href="#slot-pseudo-element."><code class=css>::slot()</code>
1727+
pseudo-element</a>). Any ‘<code class=css>auto</code>’ margins are
1728+
counted as 0 in this case.
17371729

17381730
<li>Otherwise, if the slot spans at least one column whose width is
17391731
specified as ‘<code class=css>max-content</code>’ (or ‘<code
@@ -2166,11 +2158,11 @@ <h2 id=positioning><span class=secno>3. </span>Putting content into a grid
21662158
root (“establishes a block formatting context” in the terminology of
21672159
CSS level 2), very much like a table cell.
21682160

2169-
<p>The second way is to absolutely position elements using four <em>grid
2170-
lines</em> to specify the positions of the four margin edges of the
2171-
element. Like other positioned elements <a href="#CSS21"
2172-
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, these elements can overlap
2173-
each other and the ‘<a href="#z-index"><code
2161+
<p>The second way is to absolutely position elements using four <a
2162+
href="#grid-line"><em>grid lines</em></a> to specify the positions of the
2163+
four margin edges of the element. Like other positioned elements <a
2164+
href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>, these elements
2165+
can overlap each other and the ‘<a href="#z-index"><code
21742166
class=property>z-index</code></a>’ property applies to them.
21752167
<!--=================================================================-->
21762168

@@ -2952,9 +2944,8 @@ <h2 id=slot-pseudo><span class=secno>4. </span>Styling slots: the ‘<a
29522944
href="#slot"><code class=css>::slot()</code></a>’ pseudo-element</h2>
29532945

29542946
<p>The slots of a <a href="#grid-element."><em>grid element</em></a> can be
2955-
individually addressed with the <dfn
2956-
id=lsquoslotrsquo-pseudo-element.><code class=css>slot()</code>
2957-
pseudo-element.</dfn>
2947+
individually addressed with the <dfn id=slot-pseudo-element.><code
2948+
class=css>slot()</code>’ pseudo-element.</dfn>
29582949

29592950
<div class=example>
29602951
<p>For example, the following sets the background and vertical alignment
@@ -3310,9 +3301,9 @@ <h3 id=vertical-alignment><span class=secno>6.1. </span>Vertical alignment
33103301
<h3 id=paged><span class=secno>6.2. </span>Breaking grid elements across
33113302
pages or columns</h3>
33123303

3313-
<p><span>Grid elements</span> may be broken across pages, columns or
3314-
similar regions (including chained slots of another grid element), subject
3315-
to the ‘<a href="#break-before0"><code
3304+
<p><a href="#grid-element.">Grid elements</a> may be broken across pages,
3305+
columns or similar regions (including chained slots of another grid
3306+
element), subject to the ‘<a href="#break-before0"><code
33163307
class=property>break-before</code></a>’, ‘<a
33173308
href="#break-after0"><code class=property>break-after</code></a>’ and
33183309
<a href="#break-inside0"><code
@@ -4637,11 +4628,11 @@ <h4 id=use-the-pseudo-class-to-create-additiona><span class=secno>10.2.17.
46374628
<pre>DIV::slot(z) {position: absolute; grid-position: 2 / 2}</pre>
46384629

46394630
<p>Like other ‘<a href="#slot"><code class=css>::slot()</code></a>
4640-
pseudo-elements, it applies to <span>grid elements</span> only (the DIV in
4641-
this example must be a grid element), but unlike other<a
4642-
href="#slot"><code class=css>::slot()</code></a>’ pseudo-elements it
4643-
doesn't style an existing slot, but implicitly creates a new one. (It is
4644-
some kind of error if the name ‘<code class=css>z</code>’ already
4631+
pseudo-elements, it applies to <a href="#grid-element.">grid elements</a>
4632+
only (the DIV in this example must be a grid element), but unlike other
4633+
<a href="#slot"><code class=css>::slot()</code></a>’ pseudo-elements
4634+
it doesn't style an existing slot, but implicitly creates a new one. (It
4635+
is some kind of error if the name ‘<code class=css>z</code>’ already
46454636
exists in the grid template.)
46464637

46474638
<p>Then you can flow other elements into this slot:
@@ -5273,26 +5264,6 @@ <h2 class=no-num id=index>Index</h2>
52735264
<!--begin-index-->
52745265

52755266
<ul class=indexlist>
5276-
<li><code class=css>slot()</code>’ pseudo-element., <a
5277-
href="#lsquoslotrsquo-pseudo-element."
5278-
title="‘slot()’ pseudo-element."><strong>4.</strong></a>
5279-
5280-
<li>&lt;col-width&gt;, <a href="#ltcol-widthgt"
5281-
title="&lt;col-width&gt;"><strong>2.2.</strong></a>
5282-
5283-
<li><var>&lt;length&gt;</var>, <a href="#ltlengthgt"
5284-
title="&lt;length&gt;"><strong>1.2.</strong></a>
5285-
5286-
<li>&lt;minmax&gt;, <a href="#ltminmaxgt"
5287-
title="&lt;minmax&gt;"><strong>2.2.</strong></a>, <a href="#ltminmaxgt0"
5288-
title="&lt;minmax&gt;"><strong>2.3.</strong></a>
5289-
5290-
<li>&lt;row-height&gt;, <a href="#ltrow-heightgt"
5291-
title="&lt;row-height&gt;"><strong>2.3.</strong></a>
5292-
5293-
<li><var>&lt;string&gt;</var>, <a href="#ltstringgt"
5294-
title="&lt;string&gt;"><strong>1.2.</strong></a>
5295-
52965267
<li>A edge, <a href="#a-edge" title="A edge"><strong>6.1.</strong></a>
52975268

52985269
<li>anonymous block of a slot, <a href="#anonymous-block"
@@ -5341,6 +5312,9 @@ <h2 class=no-num id=index>Index</h2>
53415312

53425313
<li>columns, <a href="#columns" title=columns><strong>1.2.</strong></a>
53435314

5315+
<li>&lt;col-width&gt;, <a href="#ltcol-widthgt"
5316+
title="&lt;col-width&gt;"><strong>2.2.</strong></a>
5317+
53445318
<li>containing block, <a href="#containing-block"
53455319
title="containing block"><strong>3.1.</strong></a>
53465320

@@ -5369,15 +5343,15 @@ <h2 class=no-num id=index>Index</h2>
53695343
<li>grid ancestor, <a href="#grid-ancestor"
53705344
title="grid ancestor"><strong>2.</strong></a>
53715345

5346+
<li>grid-columns, <a href="#grid-columns"
5347+
title=grid-columns><strong>2.2.</strong></a>
5348+
53725349
<li>grid element., <a href="#grid-element."
53735350
title="grid element."><strong>2.</strong></a>
53745351

53755352
<li>grid line,, <a href="#grid-line"
53765353
title="grid line,"><strong>3.2.</strong></a>
53775354

5378-
<li>grid-columns, <a href="#grid-columns"
5379-
title=grid-columns><strong>2.2.</strong></a>
5380-
53815355
<li>grid-position, <a href="#grid-position0"
53825356
title=grid-position><strong>3.3.</strong></a>
53835357

@@ -5412,6 +5386,9 @@ <h2 class=no-num id=index>Index</h2>
54125386

54135387
<li>left, <a href="#left" title=left><strong>1.2.</strong></a>
54145388

5389+
<li><a href="#ltlengthgt"><var>&lt;length&gt;</var></a>, <a
5390+
href="#ltlengthgt" title="&lt;length&gt;"><strong>1.2.</strong></a>
5391+
54155392
<li>margin, <a href="#margin" title=margin><strong>1.2.</strong></a>
54165393

54175394
<li>margin-left, <a href="#margin-left"
@@ -5420,6 +5397,10 @@ <h2 class=no-num id=index>Index</h2>
54205397
<li>margin-right, <a href="#margin-right"
54215398
title=margin-right><strong>1.2.</strong></a>
54225399

5400+
<li>&lt;minmax&gt;, <a href="#ltminmaxgt"
5401+
title="&lt;minmax&gt;"><strong>2.2.</strong></a>, <a href="#ltminmaxgt0"
5402+
title="&lt;minmax&gt;"><strong>2.3.</strong></a>
5403+
54235404
<li>non-interactive, <a href="#non-interactive"
54245405
title=non-interactive><strong>1.2.</strong></a>
54255406

@@ -5443,22 +5424,32 @@ <h2 class=no-num id=index>Index</h2>
54435424

54445425
<li>right, <a href="#right" title=right><strong>1.2.</strong></a>
54455426

5427+
<li>&lt;row-height&gt;, <a href="#ltrow-heightgt"
5428+
title="&lt;row-height&gt;"><strong>2.3.</strong></a>
5429+
54465430
<li>slot, <a href="#slot" title=slot><strong>2.1.</strong></a>
54475431

5432+
<li><a href="#slot"><code class=css>slot()</code></a>
5433+
pseudo-element., <a href="#slot-pseudo-element."
5434+
title="''slot()'' pseudo-element."><strong>4.</strong></a>
5435+
5436+
<li><a href="#ltstringgt"><var>&lt;string&gt;</var></a>, <a
5437+
href="#ltstringgt" title="&lt;string&gt;"><strong>1.2.</strong></a>
5438+
54485439
<li>top, <a href="#top" title=top><strong>1.2.</strong></a>
54495440

54505441
<li>vertical, <a href="#vertical-element"
54515442
title=vertical><strong>1.2.</strong></a>
54525443

5444+
<li>vertical-align, <a href="#vertical-align"
5445+
title=vertical-align><strong>1.2.</strong></a>
5446+
54535447
<li>vertical element, <a href="#vertical-element"
54545448
title="vertical element"><strong>1.2.</strong></a>
54555449

54565450
<li>vertical writing mode, <a href="#vertical-writing-mode"
54575451
title="vertical writing mode"><strong>1.2.</strong></a>
54585452

5459-
<li>vertical-align, <a href="#vertical-align"
5460-
title=vertical-align><strong>1.2.</strong></a>
5461-
54625453
<li>width, <a href="#width" title=width><strong>1.2.</strong></a>
54635454

54645455
<li>writing-mode, <a href="#writing-mode"

0 commit comments

Comments
 (0)