Skip to content

Commit 0d02186

Browse files
committed
[css-writing-modes] Make that the nearest fixed-size scrollport, where available. #1391
1 parent 7049447 commit 0d02186

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

css-writing-modes-3/Overview.bs

+4-3
Original file line numberDiff line numberDiff line change
@@ -2015,8 +2015,9 @@ Available Space in Orthogonal Flows</h4>
20152015
but its <i>available inline space</i> to be indefinite.
20162016
In such cases a percentage of the containing block’s <i>inline size</i> cannot be defined,
20172017
and <i>inline axis</i> computations cannot be resolved.
2018-
In these cases, the nearest ancestor <a>scrollport</a>’s size
2019-
(or if there are none, the initial containing block’s size)
2018+
In these cases, the smaller of
2019+
the nearest fixed-size ancestor <a>scrollport</a>’s size (if any)
2020+
or the initial containing block’s size
20202021
is used as a <i>fallback</i>
20212022
in place of the <i>available inline space</i>
20222023
for calculations that require a definite <i>available inline space</i>.
@@ -2471,7 +2472,7 @@ Privacy and Security Considerations {#priv-sec}
24712472
<li>Deferred the ''digits'' value of 'text-combine-upright' to Level 4.
24722473
<li>Deferred the automatic multi-column behavior of orthogonal flows to Level 4.
24732474
<li>Changed the fallback “available space” for orthogonal flows
2474-
to use the nearest <a>scrollport</a> where available.
2475+
to use the nearest fixed-size <a>scrollport</a> where available.
24752476
(<a href="https://github.com/w3c/csswg-drafts/issues/1391">Issue 1391</a>)
24762477
<li>Added Privacy and Security Considerations section.
24772478
</ul>

css-writing-modes/Overview.bs

+5-4
Original file line numberDiff line numberDiff line change
@@ -2044,8 +2044,9 @@ Available Space in Orthogonal Flows</h4>
20442044
but its <i>available inline space</i> to be indefinite.
20452045
In such cases a percentage of the containing block’s <i>inline size</i> cannot be defined,
20462046
and <i>inline axis</i> computations cannot be resolved.
2047-
In these cases, the nearest ancestor <a>scrollport</a>’s size
2048-
(or if there are none, the initial containing block’s size)
2047+
In these cases, the smaller of
2048+
the nearest fixed-size ancestor <a>scrollport</a>’s size (if any)
2049+
or the initial containing block’s size
20492050
is used as a <i>fallback</i>
20502051
in place of the <i>available inline space</i>
20512052
for calculations that require a definite <i>available inline space</i>.
@@ -2079,8 +2080,8 @@ Auto-sizing Block Containers in Orthogonal Flows</h4>
20792080
that would <a>stretch fit</a> into to the smaller of
20802081
<ul>
20812082
<li>the <i>available space</i>
2082-
<li>the nearest ancestor <a>scrollport</a>’s <a>size</a>,
2083-
or, if there is none, the initial containing block’s <i>size</i>
2083+
<li>the nearest fixed-size ancestor <a>scrollport</a>’s <a>size</a>
2084+
<li>the initial containing block’s <i>size</i>
20842085
</dl>
20852086

20862087
<div class="note">

0 commit comments

Comments
 (0)