File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1096,14 +1096,14 @@ Content-Distribution Shorthand: the 'place-content' property</h3>
10961096<h3 id="overflow-scroll-position">
10971097Overflow and Scroll Positions</h3>
10981098
1099- The <a>content-distribution properties </a> also affect the initial scroll position,
1100- setting it to display the appropriate portion of the scrollable area .
1101- In other words ,
1102- the <a>scrollable overflow region </a> is aligned relative to the viewport
1103- as specified by the <a>content-distribution properties </a> .
1104- Additionally, so that the content remains in the <a>scrollable overflow region</a> in order to be scrollable,
1105- the ''overflow/scroll'' and ''overflow/auto'' values of 'overflow'
1106- trigger ''safe'' content alignment always .
1099+ Content that overflows a <a>scroll container </a>
1100+ is aligned exactly like content in a non- scrollable container .
1101+ However, to prevent content from being shifted into the unscrollable region ,
1102+ when the <a>content-distribution properties </a> are set on a <a>scroll container</a> ,
1103+ the zero coordinate of its <a>scrollable overflow region </a>
1104+ ( that is, the point beyond which content is unreachable)
1105+ is set to the top left corner of the <a>alignment subject</a> ,
1106+ effectively changing the <a>initial scroll position</a> .
11071107
11081108 <div class='example'>
11091109 For example,
You can’t perform that action at this time.
0 commit comments