Skip to content

Commit 8ecdffb

Browse files
author
Jihye Hong
committed
[css-nav-1] Clear description about updating search origin
Make the process of updating search origin more clear, depending on the discussion in w3c#4309
1 parent aac2bed commit 8ecdffb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

css-nav-1/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,17 +1097,17 @@ run the following steps:
10971097
then return it.
10981098
3. Otherwise, return <var>searchOrigin</var>.
10991099

1100-
If the status of <var>old focus target</var> changed not by moving the focus,
1100+
If the status of <var>focus target</var> changed not by moving the focus,
11011101
<dfn lt="update the search origin | updating the search origin">update the <a>search origin</a></dfn> as following:
1102-
1. If <var>old focus target</var> is
1102+
1. If <var>focus target</var> becomes
11031103
<a>actually disabled</a> or
11041104
<a>expressly inert</a> or
11051105
not <a>being rendered</a>,
1106-
then let <var>searchOrigin</var> be the [=boundary box=] of <var>old focus target</var>.
1107-
2. If <var>old focus target</var> is <a>removed</a>,
1108-
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.
1109-
3. If <var>old focus target</var> is completely off-screen,
1110-
then let <var>searchOrigin</var> be the viewport of <var>old focus target</var>'s <a>spatial navigation container</a>.
1106+
then let <var>searchOrigin</var> be the [=boundary box=] of <var>focus target</var>.
1107+
2. If <var>focus target</var> is <a>removed</a>,
1108+
then let <var>searchOrigin</var> be the [=boundary box=] of <var>focus target</var> with the position of <var>focus target</var> when it existed.
1109+
3. If <var>focus target</var> is completely off-screen,
1110+
then let <var>searchOrigin</var> be the viewport of <var>focus target</var>'s nearest visible <a>spatial navigation container</a>.
11111111

11121112
</div>
11131113

0 commit comments

Comments
 (0)