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
is aligned exactly like content in a non-scrollable container.
873
-
However, to prevent content from being shifted into the unscrollable region,
874
-
when the <a>content distribution properties</a> are set on a <a>scroll container</a>,
875
-
the zero coordinate of its <a>scrollable overflow region</a>
876
-
(that is, the point beyond which content is unreachable)
877
-
is set to the top left corner of the <a>alignment subject</a>,
878
-
effectively changing the <a>initial scroll position</a>.
879
-
880
-
<div class='example'>
881
-
For example,
882
-
if a scrollable flex container is set to ''justify-content: flex-end''
883
-
(or ''justify-content: flex-start'' with ''flex-flow: row-reverse''),
884
-
it will be initially displayed scrolled all the way to the main-end edge of the scrollable area,
885
-
and its content will appear to overflow its main-start edge.
886
-
</div>
887
-
888
891
<!--
889
892
██████ ████████ ██ ████████
890
893
██ ██ ██ ██ ██ ██ ██
@@ -1415,7 +1418,7 @@ Inline/Main-Axis Alignment: the 'justify-items' property</h3>
1415
1418
Inherited: no
1416
1419
Percentages: n/a
1417
1420
Media: visual
1418
-
Computed value: specified value, except for ''justify-items/legacy'' (see prose)
1421
+
Computed value: specified value, except for ''justify-items/auto'' (see prose)
1419
1422
Animatable: no
1420
1423
</pre>
1421
1424
@@ -1610,14 +1613,19 @@ Determining the Baselines of a Box</h2>
1610
1613
whichever is orthogonal to the box’s own 'writing-mode'.
1611
1614
<!-- This pairing is chosen because the most likely case for this situation is CJK. -->
1612
1615
1616
+
Issue: Maybe these things are wrong?
1617
+
CSS 2.1 is really weird about baseline alignment.
1618
+
1613
1619
For the purposes of finding the baselines of a box,
1614
1620
it and all its in-flow descendants with a scrolling mechanism (see the 'overflow' property)
1615
-
must be considered as if scrolled to their initial scroll position.
1621
+
must be considered as if scrolled to their origin.
1616
1622
Furthermore, if, in the case of a box with non-''visible'' overflow,
1617
1623
the resulting position of a first (last) baseline
1618
1624
is past a box's end (start) border edge,
1619
1625
its position is clamped to that border edge.
1620
1626
1627
+
ISSUE: This reflects the latest CSS2.1 errata, however see also discussion of an <a href="https://github.com/w3c/csswg-drafts/issues/766">alternate solution</a> that was previously drafted here.
0 commit comments