Skip to content

Commit 53526fa

Browse files
author
Jihye Hong
authored
Merge pull request w3c#4309 from jihyerish/update-the-search-origin
[css-nav-1] Update the search origin after scrolling
2 parents 6631d13 + 323f651 commit 53526fa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

css-nav-1/Overview.bs

+5-4
Original file line numberDiff line numberDiff line change
@@ -1089,17 +1089,18 @@ run the following steps:
10891089
then return it.
10901090
3. Otherwise, return <var>searchOrigin</var>.
10911091

1092-
If the status of <var>old focus target</var> changed not by the spatial navigation,
1092+
If the status of <var>old focus target</var> changed not by moving the focus,
10931093
<dfn lt="update the search origin | updating the search origin">update the <a>search origin</a></dfn> as following:
1094-
1. If <var>old focus target</var> becomes
1094+
1. If <var>old focus target</var> is
10951095
<a>actually disabled</a> or
10961096
<a>expressly inert</a> or
10971097
not <a>being rendered</a>,
10981098
then let <var>searchOrigin</var> be the [=boundary box=] of <var>old focus target</var>.
10991099
2. If <var>old focus target</var> is <a>removed</a>,
11001100
then let <var>searchOrigin</var> be the [=boundary box=] of <var>old focus target</var> with the position of <var>old focus target</var> when it existed.
1101-
3. Otherwise,
1102-
let <var>searchOrigin</var> be the viewport of <var>old focus target</var>'s <a>spatial navigation container</a>.
1101+
3. If <var>old focus target</var> is completely off-screen,
1102+
then let <var>searchOrigin</var> be the viewport of <var>old focus target</var>'s <a>spatial navigation container</a>.
1103+
11031104
</div>
11041105

11051106
<div algorithm="to find focusable areas">

0 commit comments

Comments
 (0)