You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An absolutely-positioned child element of a <ahref=#grid-container>grid container</a> does not participate directly in grid layout.
764
-
Its static position is ???
765
-
766
-
<pclass=issue>
767
-
The static position is affected by the alignment properties,
768
-
as if it was a 0x0 thing floating around in the <a>containing block</a>.
769
-
(Defaults to the start/start corner, since <spanclass=cssdata-link-type=maybe>stretch</span> can't do anything to it.)
764
+
Its static position is affected by the values of <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-selftitle=justify-self>justify-self</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-selftitle=align-self>align-self</a> on it,
765
+
using the <ahref=#grid-container>grid container</a>’s padding box as the <ahref=http://dev.w3.org/csswg/css-align-3/#alignment-container>alignment container</a>
766
+
and the element’s own box as the <ahref=http://dev.w3.org/csswg/css-align-3/#alignment-container>alignment container</a>.
767
+
A <spanclass=cssdata-link-type=maybe>baseline</span> value for either <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-selftitle=justify-self>justify-self</a> or <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-selftitle=align-self>align-self</a> is treated as <aclass=cssdata-link-type=maybehref=http://dev.w3.org/csswg/css-writing-modes-3/#start>start</a> for these purposes.
770
768
771
769
<p>
772
770
If an absolutely positioned element's <a>containing block</a>
773
771
is generated by a <ahref=#grid-container>grid container</a>,
774
772
the <ahref=#grid-placement-properties>grid-placement properties</a> can be used to constrain it to a particular <ahref=#grid-area>grid area</a>,
775
773
similar to how they affect regular <ahref=#grid-item>grid items</a>.
776
-
In this case, an <adata-link-for="<grid-line>" data-link-type=valuehref=#grid-placement-auto>auto</a> value for a <ahref=#grid-placement-properties>grid-placement property</a> indicates the corresponding padding edge of the <ahref=#grid-container>grid container</a>.
774
+
In this case, an <adata-link-for="<grid-line>" data-link-type=valuehref=#grid-placement-auto>auto</a> value for a <ahref=#grid-placement-properties>grid-placement property</a>
775
+
indicates the corresponding padding edge of the <ahref=#grid-container>grid container</a>.
777
776
778
777
<pclass=note>
779
778
Absolute positioning can allow an element to “skip past” intervening grid containers,
Abstract: This CSS module defines a two-dimensional grid-based layout system, optimized for user interface design. In the grid layout model, the children of a grid container can be positioned into arbitrary slots in a flexible or fixed predefined layout grid.
18
18
Ignored Terms: column-*, justify-*, containing block, grid-field, <positive-integer>, <ident>, auto
19
-
Link Defaults: css21 (property) margin
19
+
Link Defaults: css21 (property) margin, css-align-3 (dfn) alignment container/alignment subject
20
20
</pre>
21
21
22
22
<styletype="text/css">
@@ -675,19 +675,18 @@ <h3 id="abspos-items">
675
675
676
676
<p>
677
677
An absolutely-positioned child element of a <a>grid container</a> does not participate directly in grid layout.
678
-
Its static position is ???
679
-
680
-
<pclass='issue'>
681
-
The static position is affected by the alignment properties,
682
-
as if it was a 0x0 thing floating around in the <a>containing block</a>.
683
-
(Defaults to the start/start corner, since ''stretch'' can't do anything to it.)
678
+
Its static position is affected by the values of 'justify-self' and 'align-self' on it,
679
+
using the <a>grid container</a>’s padding box as the <a>alignment container</a>
680
+
and the element’s own box as the <a>alignment container</a>.
681
+
A ''baseline'' value for either 'justify-self' or 'align-self' is treated as ''start'' for these purposes.
684
682
685
683
<p>
686
684
If an absolutely positioned element's <a>containing block</a>
687
685
is generated by a <a>grid container</a>,
688
686
the <a>grid-placement properties</a> can be used to constrain it to a particular <a>grid area</a>,
689
687
similar to how they affect regular <a>grid items</a>.
690
-
In this case, an <avaluefor="<grid-line>">auto</a> value for a <a>grid-placement property</a> indicates the corresponding padding edge of the <a>grid container</a>.
688
+
In this case, an <avaluefor="<grid-line>">auto</a> value for a <a>grid-placement property</a>
689
+
indicates the corresponding padding edge of the <a>grid container</a>.
691
690
692
691
<pclass='note'>
693
692
Absolute positioning can allow an element to “skip past” intervening grid containers,
0 commit comments