File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1620,6 +1620,13 @@ Restrictions and Clarifications {#cv-notes}
16201620 if this changes the element's size,
16211621 it might not align in the viewport exactly as requested.
16221622
1623+ If an element is not available to user-agent features
1624+ (for example, if it is [=skipped=]
1625+ due to a ''content-visiblity: hidden'' ancestor),
1626+ then scrolling operations
1627+ must not scroll to it at all,
1628+ as if it did not have a layout box.
1629+
162316306. If an element with ''content-visibility: auto''
16241631 that is [=skipping its contents=]
16251632 is focused
Original file line number Diff line number Diff line change @@ -1105,7 +1105,9 @@ The <dfn method for=Element caniuse=scrollintoview>scrollIntoView(<var>arg</var>
11051105 1. Set <var> block</var> to the {{ScrollIntoViewOptions/block}} dictionary member of <var> options</var> .
11061106 1. Set <var> inline</var> to the {{ScrollIntoViewOptions/inline}} dictionary member of <var> options</var> .
110711071. Otherwise, if <var> arg</var> is false, then set <var> block</var> to "<code> end</code> ".
1108- 1. If the element does not have any associated <a>layout box</a> , then return.
1108+ 1. If the element does not have any associated <a>layout box</a> ,
1109+ or is not available to user-agent features,
1110+ then return.
110911111. <a lt='scroll an element into view'>Scroll the element into view</a>
11101112 with <var> behavior</var> , <var> block</var> , and <var> inline</var> .
111111131. Optionally perform some other action that brings the element to the user's attention.
You can’t perform that action at this time.
0 commit comments