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
width is shrink-to-fit. Then solve for 'left'</li>
550
557
551
558
<li>'left' and 'right' are 'auto' and 'width' is not 'auto', then if
552
-
'direction' is 'ltr' set 'left' to the <a
559
+
the 'direction' property of the containing block is 'ltr' set 'left'
560
+
to the <a
553
561
href="#static-position">static position</a>, otherwise set 'right'
554
562
to the <ahref="#static-position">static position</a>. Then solve
555
563
for 'left' (if 'direction is 'rtl') or 'right' (if 'direction' is
@@ -594,7 +602,8 @@ <h3>10.3.8 <a name="abs-replaced-width">Absolutely positioned, replaced elements
594
602
</li>
595
603
<li>If both <ahref="visuren.html#propdef-left" class="noxref"><spanclass="propinst-left">'left'</span></a> and <ahref="visuren.html#propdef-right" class="noxref"><span
596
604
class="propinst-right">'right'</span></a> have the value 'auto', then if
597
-
'direction' is 'ltr', set <ahref="visuren.html#propdef-left" class="noxref"><spanclass="propinst-left">'left'</span></a> to
605
+
'direction' of the containing block is 'ltr', set <ahref="visuren.html#propdef-left" class="noxref"><span
606
+
class="propinst-left">'left'</span></a> to
598
607
the static position; else if 'direction' is 'rtl', set <ahref="visuren.html#propdef-right" class="noxref"><span
599
608
class="propinst-right">'right'</span></a> to the static position.
600
609
</li>
@@ -608,7 +617,8 @@ <h3>10.3.8 <a name="abs-replaced-width">Absolutely positioned, replaced elements
608
617
class="propinst-margin-right">'margin-right'</span></a> are still 'auto',
609
618
solve the equation under the extra constraint that the two margins
610
619
must get equal values, unless this would make them negative, in which
611
-
case when direction is 'ltr' ('rtl'), set <ahref="box.html#propdef-margin-left" class="noxref"><span
620
+
case when the direction of the containing block is 'ltr' ('rtl'), set
class="propinst-margin-right">'margin-right'</span></a>) to zero and solve
614
624
for <ahref="box.html#propdef-margin-right" class="noxref"><spanclass="propinst-margin-right">'margin-right'</span></a> (<ahref="box.html#propdef-margin-left" class="noxref"><span
@@ -618,8 +628,9 @@ <h3>10.3.8 <a name="abs-replaced-width">Absolutely positioned, replaced elements
618
628
for that value.
619
629
</li>
620
630
<li>If at this point the values are over-constrained, ignore the value
621
-
for either <ahref="visuren.html#propdef-left" class="noxref"><spanclass="propinst-left">'left'</span></a> (in case <ahref="visuren.html#propdef-direction" class="noxref"><span
622
-
class="propinst-direction">'direction'</span></a> is 'rtl') or <ahref="visuren.html#propdef-right" class="noxref"><span
631
+
for either <ahref="visuren.html#propdef-left" class="noxref"><spanclass="propinst-left">'left'</span></a> (in case the
632
+
<ahref="visuren.html#propdef-direction" class="noxref"><spanclass="propinst-direction">'direction'</span></a> property of the
633
+
containing block is 'rtl') or <ahref="visuren.html#propdef-right" class="noxref"><span
623
634
class="propinst-right">'right'</span></a> (in case <ahref="visuren.html#propdef-direction" class="noxref"><span
624
635
class="propinst-direction">'direction'</span></a> is 'ltr') and solve for
625
636
that value.
@@ -1372,21 +1383,21 @@ <h3><a name="q26">10.8.1 Leading and half-leading</a></h3>
0 commit comments