Skip to content

Commit f58289f

Browse files
committed
[css-writing-modes] Use nearest available scrollport in favor of ICB. Fixes #1391.
1 parent a40fc4a commit f58289f

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

css-writing-modes-3/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,8 +2015,10 @@ 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 initial containing block's size is used
2019-
as a <i>fallback</i> variable in place of the <i>available inline space</i>
2018+
In these cases, the nearest ancestor <a>scrollport</a>’s size
2019+
(or if there are none, the initial containing block’s size)
2020+
is used as a <i>fallback</i>
2021+
in place of the <i>available inline space</i>
20202022
for calculations that require a definite <i>available inline space</i>.
20212023

20222024
<p>See [[!CSS3-SIZING]] for further details on CSS sizing terminology and concepts.
@@ -2468,6 +2470,9 @@ Privacy and Security Considerations {#priv-sec}
24682470
<li>Deferred the ''sideways-lr'' and ''sideways-rl'' values of 'writing-mode' to Level 4.
24692471
<li>Deferred the ''digits'' value of 'text-combine-upright' to Level 4.
24702472
<li>Deferred the automatic multi-column behavior of orthogonal flows to Level 4.
2473+
<li>Changed the fallback “available space” for orthogonal flows
2474+
to use the nearest <a>scrollport</a> where available.
2475+
(<a href="https://github.com/w3c/csswg-drafts/issues/1391">Issue 1391</a>)
24712476
<li>Added Privacy and Security Considerations section.
24722477
</ul>
24732478

css-writing-modes/Overview.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,8 +2044,10 @@ 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 initial containing block's size is used
2048-
as a <i>fallback</i> variable in place of the <i>available inline space</i>
2047+
In these cases, the nearest ancestor <a>scrollport</a>’s size
2048+
(or if there are none, the initial containing block’s size)
2049+
is used as a <i>fallback</i>
2050+
in place of the <i>available inline space</i>
20492051
for calculations that require a definite <i>available inline space</i>.
20502052

20512053
<p>See [[!CSS3-SIZING]] for further details on CSS sizing terminology and concepts.
@@ -2077,7 +2079,8 @@ Auto-sizing Block Containers in Orthogonal Flows</h4>
20772079
that would <a>stretch fit</a> into to the smaller of
20782080
<ul>
20792081
<li>the <i>available space</i>
2080-
<li>the initial containing block’s <i>size</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>
20812084
</dl>
20822085

20832086
<div class="note">

0 commit comments

Comments
 (0)