Skip to content

Commit 441347d

Browse files
committed
Allow anchor nodes to be any non-atomic inline box
1 parent c7284ce commit 441347d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css-scroll-anchoring-1/Overview.bs

+2-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ and close to the block start edge of its <a>optimal viewing region</a>.
8181
Note: If the user agent does not support the 'scroll-padding' property,
8282
the optimal viewing region of the scrolling box is equivalent to its <a>content area</a>.
8383

84-
The anchor node is either a non-anonymous <a>block box</a> or a <a>text node</a>.
84+
An anchor node can be any non-<a>atomic inline</a> <a>box</a>.
8585
The anchor node is always a <a>descendant</a> of the <a>scrolling box</a>.
8686
In some cases, a scrolling box may not select any anchor node.
8787

@@ -157,8 +157,7 @@ the implementation may wait until the anchor node is needed before computing it.
157157

158158
<div algorithm>
159159
The <dfn>scroll anchoring bounding rect</dfn> of a DOM node |N|
160-
is |N|’s <a>scrollable overflow rectangle</a> if |N| is a <a>block box</a>,
161-
or the bounding rect of its <a>line boxes</a> if |N| is a text node.
160+
is |N|’s <a>scrollable overflow rectangle</a>.
162161
</div>
163162

164163
<h3 id="scroll-adjustment">

0 commit comments

Comments
 (0)