Skip to content

Commit cf2435a

Browse files
author
Jihye Hong
committed
[css-nav-1] Fix link errors
1 parent 99851a5 commit cf2435a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-nav-1/Overview.bs

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/;
2727
type: dfn;
2828
text: actually disabled; url: #concept-element-disabled
2929
text: being rendered
30+
text: browsing context
3031
text: control group
3132
text: currently focused area of a top-level browsing context
3233
text: DOM anchor
@@ -644,11 +645,11 @@ and the result will be <code>null</code>.</em>
644645
const outerBtn = container.spatialNavigationSearch('down');
645646
</code></pre>
646647

647-
<code>innerBtn</code> is assigned to the element whose {{Element/id}} matches with <code>'button1'</code>
648+
<code>innerBtn</code> is assigned to the element whose {{Element/id}} matches with <code>button1</code>
648649
because the {{SpatialNavigationSearchOptions/inside}} attribute is <code>true</code>.
649650
But if the author doesn't specify {{SpatialNavigationSearchOptions/inside}} attribute,
650651
<code>false</code> is given to it by default.
651-
Therefore <code>outerBtn</code> is assigned to the element with {{Element/id}} <code>'button2'</code>
652+
Therefore <code>outerBtn</code> is assigned to the element with {{Element/id}} <code>button2</code>
652653
which is outside of <code>container</code>.
653654
</div>
654655

@@ -1217,7 +1218,7 @@ run the following steps:
12171218
* left edge is right of the right edge of <var>searchOrigin</var>'s <a>boundary box</a> if <var>dir</var> is {{SpatialNavigationDirection/right}}
12181219
* the item partially overlaps with <var>searchOrigin</var> and
12191220
its two edges which are orthogonal to <var>dir</var> should be on the navigation direction of the respective ones of <var>searchOrigin</var>.
1220-
2. For each <var>candidate</var> in <var>candidates</var>,
1221+
2. For each <var ignore="">candidate</var> in <var>candidates</var>,
12211222
[=find the shortest distance=] between <var>searchOrigin</var>.
12221223
3. Return the item of the <var>candidates</var> set that has the smallest distance.
12231224
If several have the same distance,

0 commit comments

Comments
 (0)