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
Aligning with <spandata-link-for=margindata-link-type=valuetitle=auto>auto</span> margins</a><li><ahref=#row-align><spanclass=secno>9.2</span>
139
139
Row-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=justify-self>justify-self</span> and <spanclass=propertydata-link-type=propdesctitle=justify-items>justify-items</span> properties</a><li><ahref=#column-align><spanclass=secno>9.3</span>
140
-
Column-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=align-self>align-self</span> and <spanclass=propertydata-link-type=propdesctitle=align-items>align-items</span> properties</a><li><ahref=#z-order><spanclass=secno>9.4</span>
141
-
Z-axis Ordering: the <spanclass=propertydata-link-type=propdesctitle=z-index>z-index</span> property</a><li><ahref=#grid-baselines><spanclass=secno>9.5</span>
140
+
Column-axis Alignment: the <spanclass=propertydata-link-type=propdesctitle=align-self>align-self</span> and <spanclass=propertydata-link-type=propdesctitle=align-items>align-items</span> properties</a><li><ahref=#grid-align><spanclass=secno>9.4</span>
141
+
Aligning the Grid: the <spanclass=propertydata-link-type=propdesctitle=justify-content>justify-content</span> and <spanclass=propertydata-link-type=propdesctitle=align-content>align-content</span> properties</a><li><ahref=#z-order><spanclass=secno>9.5</span>
142
+
Z-axis Ordering: the <spanclass=propertydata-link-type=propdesctitle=z-index>z-index</span> property</a><li><ahref=#grid-baselines><spanclass=secno>9.6</span>
or <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-itemstitle=align-items>align-items</a> property on the <adata-link-type=dfnhref=#grid-containertitle="grid container">grid container</a>,
2308
2310
as defined in <adata-biblio-type=normativedata-link-type=bibliohref=#css3-aligntitle=css3-align>[CSS3-ALIGN]</a>.
Aligning the Grid: the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-contenttitle=justify-content>justify-content</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-contenttitle=align-content>align-content</a> properties</span><aclass=self-linkhref=#grid-align></a></h3>
2314
+
2315
+
<p> If the <adata-link-type=dfnhref=#gridtitle=grid>grid</a>’s outer edges do not correspond to the <adata-link-type=dfnhref=#grid-containertitle="grid container">grid container</a>’s padding edges
2316
+
(for example, if no columns are flex-sized),
2317
+
the <adata-link-type=dfnhref=#gridtitle=grid>grid</a> is aligned within the padding box according to the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#justify-contenttitle=justify-content>justify-content</a> and <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-align-3/#align-contenttitle=align-content>align-content</a> properties on the <adata-link-type=dfnhref=#grid-containertitle="grid container">grid container</a>.
Z-axis Ordering: the <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-position-3/#z-indextitle=z-index>z-index</a> property</span><aclass=self-linkhref=#z-order></a></h3>
Should <aclass=propertydata-link-type=propdeschref=#propdef-grid-areatitle=grid-area>grid-area</a> be <aclass=propertydata-link-type=propdesctitle=grid-field>grid-field</a>?
3224
3236
3225
3237
3226
-
<ahref=#issue-6466e536> ↵ </a><pclass=issue>
3227
-
<ahref=#issue-382f79cc> ↵ </a><pclass=issue>
3238
+
<ahref=#issue-6466e536> ↵ </a><divclass=issue>
3239
+
<ul>
3240
+
<li>Simple example of abspos spanning the whole grid.
3241
+
<li>Example of abspos spanning a portion of the grid.
3242
+
<li>Example of abspos using its offsets.
3243
+
<li>Complex example of a centered grid interacting with abspos doing both padding-edge and explicit lines.
3244
+
<pre> .grid {
3245
+
justify-content: center;
3246
+
}
3247
+
.abspos {
3248
+
grid-row: 2 / -1;
3249
+
grid-column: auto / span 2;
3250
+
}
3251
+
</pre></ul>
3252
+
<ahref=#issue-40e1e2b2> ↵ </a></div>
3253
+
3254
+
<pclass=issue>
3255
+
Provide a picture as example.
3256
+
3257
+
<ahref=#issue-3ca79b56> ↵ </a><pclass=issue>
3228
3258
Currently this algorithm embodies several heuristics which regulate the growth of spanning <adata-link-type=dfnhref=#grid-itemtitle="grid items">Grid items</a> to accommodate certain use cases. (E.g. the game example in Figures 2 and 3 above.) These heuristics should be a normative part of this specification to ensure interoperability. To the extent additional use cases can be identified that cannot be satisfied by following the current heuristics, the normative algorithm can be updated, or additional mechanisms can be introduced for fine-grained control of content-based TrackSizingFunction.
0 commit comments