Skip to content

Commit 99851a5

Browse files
author
Jihye Hong
committed
[css-nav-1] Fix the indentation error
1 parent abbb2d6 commit 99851a5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

css-nav-1/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,9 +1018,10 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
10181018

10191019
and return if the result is <code>false</code>.</span>
10201020
3. Run the <a>focusing steps</a> for <var>bestCandidate</var> and return
1021-
<span class=cssapi>* Else if the computed value of the 'spatial-navigation-action' property on <var>eventTarget</var> is not ''spatial-navigation-action/focus''
1022-
and <var>eventTarget</var> <a>can be manually scrolled</a>,
1023-
then <a>directionally scroll the element</a> <var>eventTarget</var> in <var>direction</var> and return.</span>
1021+
<span class=cssapi>* Else if the computed value of the 'spatial-navigation-action' property on <var>eventTarget</var>
1022+
is not ''spatial-navigation-action/focus''
1023+
and <var>eventTarget</var> <a>can be manually scrolled</a>,
1024+
then <a>directionally scroll the element</a> <var>eventTarget</var> in <var>direction</var> and return.</span>
10241025
* Else, fall back to the next step.
10251026
* Else, fall back to the next step.
10261027
5. Let <var>container</var> be the nearest ancestor of <var>eventTarget</var> that is a <a>spatial navigation container</a>.
@@ -1185,8 +1186,7 @@ run the following steps:
11851186
1. If <var>candidates</var> is <a spec=infra for=set>empty</a>, return <code>null</code>
11861187
2. If <var>candidates</var> contains a single item, return that item
11871188
3. Let <var>insiders</var> be the subset of <var>candidates</var>
1188-
* If <var>searchOrigin</var> is the <a>spatial navigation container</a>,
1189-
whose <a>boundary box</a>'s
1189+
* If <var>searchOrigin</var> is the <a>spatial navigation container</a>, whose <a>boundary box</a>'s
11901190
* top edge is below the top edge of <a>inside area</a> of <var>searchOrigin</var> if <var>dir</var> is {{SpatialNavigationDirection/down}}
11911191
* bottom edge is above the bottom edge of <a>inside area</a> of <var>searchOrigin</var> if <var>dir</var> is {{SpatialNavigationDirection/up}}
11921192
* right edge is left of the right edge of <a>inside area</a> of <var>searchOrigin</var> if <var>dir</var> is {{SpatialNavigationDirection/left}}
@@ -1216,7 +1216,7 @@ run the following steps:
12161216
* right edge is left of the left edge of <var>searchOrigin</var>'s <a>boundary box</a> if <var>dir</var> is {{SpatialNavigationDirection/left}}
12171217
* left edge is right of the right edge of <var>searchOrigin</var>'s <a>boundary box</a> if <var>dir</var> is {{SpatialNavigationDirection/right}}
12181218
* the item partially overlaps with <var>searchOrigin</var> and
1219-
its two edges which are orthogonal to <var>dir</var> should be on the navigation direction of the respective ones of <var>searchOrigin</var>.
1219+
its two edges which are orthogonal to <var>dir</var> should be on the navigation direction of the respective ones of <var>searchOrigin</var>.
12201220
2. For each <var>candidate</var> in <var>candidates</var>,
12211221
[=find the shortest distance=] between <var>searchOrigin</var>.
12221222
3. Return the item of the <var>candidates</var> set that has the smallest distance.

0 commit comments

Comments
 (0)