@@ -1754,8 +1754,7 @@ <h2 id=flow>Flowing content into slots: 'flow'</h2>
17541754< var > <identifier></ var > | < var > <string></ var > | '*' | same
17551755< tr > < th > Initial: < td > auto
17561756< tr > < th > Applies to: < td > elements that have a < span > grid
1757- ancestor</ span > and whose 'position' is ''static'' or ''relative'' and
1758- whose 'grid-area' is ''none''
1757+ ancestor</ span > and whose 'position' is ''static'' or ''relative''
17591758< tr > < th > Inherited: < td > no
17601759< tr > < th > Animatable: < td > no
17611760< tr > < th > Percentages: < td > N/A
@@ -2174,7 +2173,7 @@ <h3>Taking elements out of the flow with 'position: grid' or 'display: grid'</h3
21742173< p > Setting 'position: grid' on an element that has a < em > grid
21752174ancestor</ em > causes the element to be taken out of the flow of its
21762175parent and positioned with 'grid-area'. It also sets the computed
2177- value of 'displa ' to 'block'. If the element does not have a grid
2176+ value of 'display ' to 'block'. If the element does not have a grid
21782177ancestor, 'position: grid' is treated as if it were 'position: static'
21792178and 'display' is not affected.
21802179
@@ -2379,41 +2378,16 @@ <h3>Stacking elements on top of a grid: 'grid-area' and 'grid-auto'</h3>
23792378'grid-auto'/''auto'' do the same thing in different ways. We need only
23802379one. Which is easier?
23812380
2382- < p > If an elements has a 'grid-area' other than ''none'', then the
2383- 'float' property does not apply and the values of 'display' are
2384- determined according to this table:
2385-
2386- < table class =equiv-table >
2387- < thead >
2388- < tr >
2389- < th > Specified value < th > Computed value
2390- < tbody >
2391- < tr >
2392- < td > inline-table < td > table
2393- < tr >
2394- < td > inline, table-row-group, table-column, table-column-group,
2395- table-header-group, table-footer-group, table-row, table-cell,
2396- table-caption, inline-block, run-in, compact, ruby, ruby-base,
2397- ruby-text, ruby-base-group, ruby-text-group < td > block
2398- < tr >
2399- < td > inline-flex < td > flex
2400- < tr >
2401- < td > others < td > same as specified
2402- </ table >
2403-
2404- < p class =note > Note that “others” includes ''list-item'', ''table'',
2405- ''container' ''flex'' and of course ''none''.
2406-
2407- < p class =issue > Check that the list above covers everything in
2408- [[CSS3BOX]].
2381+ < p > If 'grid-area' applies, then the 'float' property does not apply
2382+ and the computed value of 'display' is ''block''.
24092383
24102384< div class =example >
24112385< p > For example, these rules
24122386
24132387< pre >
24142388DIV {grid: "a b"
24152389 "c d"}
2416- P {position: absolute ; grid-area: b}
2390+ P {position: grid ; grid-area: b}
24172391</ pre >
24182392
24192393< p > means that any P exactly overlaps slot b.
@@ -2423,8 +2397,8 @@ <h3>Stacking elements on top of a grid: 'grid-area' and 'grid-auto'</h3>
24232397< p > For example, this document fragment
24242398< pre >
24252399<DIV STYLE="grid: 'a b b'">
2426- <P STYLE="grid-area: a">...
2427- <P STYLE="grid-area: next same">...
2400+ <P STYLE="position: grid; grid-area: a">...
2401+ <P STYLE="position: grid; grid-area: next same">...
24282402</DIV>
24292403</ pre >
24302404< p > puts the second P in the left half of slot b, because the first P
@@ -2466,15 +2440,15 @@ <h3>Stacking elements on top of a grid: 'grid-area' and 'grid-auto'</h3>
24662440< pre >
24672441TABLE {grid: "*"}
24682442TD:first-child {grid-area: next 1}
2469- TD {grid-area: same next}
2443+ TD {position: grid; grid-area: same next}
24702444</ pre >
24712445
24722446< div class =issue >
24732447< p > Or with 'grid-auto':
24742448
24752449< pre >
24762450TABLE {grid: "*"}
2477- TD {grid-area: auto; grid-auto: columns}
2451+ TD {position: grid; grid-area: auto; grid-auto: columns}
24782452TD:first-child {grid-auto: rows}
24792453</ pre >
24802454</ div >
@@ -3987,7 +3961,7 @@ <h4 id=auto-add>Automatically add rows and columns</h4>
39873961< pre >
39883962TABLE {grid-columns: auto; grid-rows: auto}
39893963TD:first-child {grid-area: next 1}
3990- TD {grid-area: same next}
3964+ TD {position: grid; grid-area: same next}
39913965</ pre >
39923966
39933967< p > This uses keywords instead of numbers, as described in < a
@@ -4304,7 +4278,7 @@ <h4>Use the pseudo-class to create additional slots</h4>
43044278to an element in the document you could create a pseudo-element that
43054279is like an “absolutely positioned slot:”
43064280
4307- < pre > DIV::slot(z) {position: absolute ; grid-area: 2 2}</ pre >
4281+ < pre > DIV::slot(z) {position: grid ; grid-area: 2 2}</ pre >
43084282
43094283< p > Like other '::slot()' pseudo-elements, it applies to < span > grid
43104284elements</ span > only (the DIV in this example must be a grid element),
@@ -4347,7 +4321,7 @@ <h4>Names for edges</h4>
43474321/* Create a 7x2 grid template */
43484322DIV {grid-columns: * a-line * * b-line * *; grid-rows: * *}
43494323/* Put H2 at cell x=4, y=2 */
4350- DIV H2 {position: absolute ; grid-area: b-line 2}
4324+ DIV H2 {position: grid ; grid-area: b-line 2}
43514325</ pre >
43524326
43534327< p > (This could also use strings instead of identifiers, for even more
0 commit comments