Skip to content

Commit 93874bd

Browse files
committed
[css-grid-2] Clarify how relpos applies to subgrids. #7123
1 parent 30a40c8 commit 93874bd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

css-grid-2/Overview.bs

+18
Original file line numberDiff line numberDiff line change
@@ -3903,6 +3903,12 @@ Subgrids</h2>
39033903
The 'overflow' property does apply to <a>subgrids</a>,
39043904
so that overflowing contents of the subgrid can be scrolled into view.
39053905
(Note: the act of scrolling does not affect layout.)
3906+
3907+
<li id="subgrid-relpos">
3908+
[=Relative positioning=] applies to <a>subgrids</a> as normal,
3909+
and shifts the box and its content together as usual.
3910+
(Note: Relative positioning takes place after alignment,
3911+
and does not affect track sizing.)
39063912
</ul>
39073913

39083914
<!--
@@ -5393,6 +5399,18 @@ Changes</h2>
53935399
Changes since the <a href="https://www.w3.org/TR/2020/CRD-css-grid-2-20201218/">18 December 2020 CR</a></h3>
53945400

53955401
<ul class="non-normative">
5402+
Clarified how [=relative positioning=] applies to [=subgrids=].
5403+
(<a href="https://github.com/w3c/csswg-drafts/issues/7123">Issue 7123</a>)
5404+
<blockquote>
5405+
<ul>
5406+
<li>
5407+
<ins>[=Relative positioning=] applies to <a>subgrids</a> as normal,
5408+
and shifts the box and its content together as usual.
5409+
(Note: Relative positioning takes place after alignment,
5410+
and does not affect track sizing.)</ins>
5411+
</ul>
5412+
</blockquote>
5413+
53965414
<li id="change-2020-flex-intrinsic-ratios">
53975415
Changed intrinsic track space distribution <a href="#algo-spanning-flex-items">across flexible tracks</a>
53985416
for flex sums between zero and one to interpolate

0 commit comments

Comments
 (0)