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
<p>If this results in a [=sticky view rectangle=] size in any axis
1830
-
less than the size of the [=border box=] of the [=sticky=] box in that axis,
1831
-
then the effective [=end=]-edge inset in the affected axis is reduced
1832
-
(possibly becoming negative)
1833
-
to bring the [=sticky view rectangle=]’s size up to
1834
-
the size of the [=border box=] in that axis
1835
-
<ins>(where [=end=] is interpreted relative to the [=writing mode=] of the [=containing block=])</ins>.
1836
-
</blockquote>
1837
-
<blockquote>
1838
-
If neither is ''top/auto'',
1839
-
the position is over-constrained;
1840
-
<ins>(with respect to the [=writing mode=] of its [=containing block=])</ins>
1841
-
the [=computed value|computed=][=CSS/end=] side value is ignored,
1842
-
and its [=used value=] becomes the negation of the [=CSS/start=] side.
1843
-
</blockquote>
1844
-
<blockquote>
1845
-
However,
1846
-
<ins>(all with respect to the [=writing mode=] of the [=containing block=]),
1847
-
if in the [=inline axis=]</ins>
1848
-
the <var>remaining space</var> is negative
1849
-
and both margins are ''margin/auto'',
1850
-
the [=inline-start|start=] margin resolves to zero
1851
-
and the [=inline-end|end=] margin receives the <var>remaining space</var>.
1852
-
</blockquote>
1853
-
<blockquote>
1854
-
<dl class=switch>
1855
-
: If its [=self-alignment property=] in the relevant axis is ''align-self/stretch''
1856
-
: Or if it is ''align-self/normal''
1857
-
and the box is [=non-replaced=]<ins>and has no ''inset/auto''[=inset property|inset=] in the relevant axis</ins>
1858
-
::
1859
-
Its [=automatic size=] is its [=stretch-fit size=].
1860
-
</dl>
1861
-
</blockquote>
1862
-
</ul>
1863
-
1864
-
The following significant changes were made since the
1865
-
<a href="https://www.w3.org/TR/2016/WD-css-position-3-20160517/">17 May 2016 Working Draft</a>:
1866
-
1867
-
<ul>
1868
-
<li>Rewrote the whole spec for editorial clarity, technical precision, and compatibility with [[CSS-ALIGN-3]], [[CSS-WRITING-MODES-3]], [[CSS-BREAK-3]], and [[CSS-DISPLAY-3]].
1869
-
</ul>
1739
+
See also <a href="https://www.w3.org/TR/2025/WD-css-position-3-20250311/#changes
0 commit comments