Skip to content

Commit fbf0a7e

Browse files
committed
[css-nav-1] Unify how we link between IDL and the corresponding <dfn>
1 parent 81da322 commit fbf0a7e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

css-nav-1/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,11 @@ partial interface Window {
427427
</pre>
428428

429429
<div algorithm="windowNavigate steps">
430-
The {{Window/navigate()}} method must follow these steps:
430+
When the <dfn method for="Window" lt="navigate(dir)">navigate(dir)</dfn> method is called,
431+
the User Agent must run the following step:
431432

432-
If <var>dir</var> is <code>"up"</code>, <code>"down"</code>, <code>"left"</code>, or <code>"right"</code>,
433-
run the <a>spatial navigation steps</a> in direction <var>dir</var>.
433+
* If <var>dir</var> is <code>"up"</code>, <code>"down"</code>, <code>"left"</code>, or <code>"right"</code>,
434+
run the <a>spatial navigation steps</a> in direction <var>dir</var>.
434435

435436
Issue(3387): The name of this API is under discussion
436437

@@ -475,7 +476,7 @@ When these methods are called,
475476
the User Agent must run the steps described below:
476477

477478
<div algorithm="getSpatialNavigationContainer steps">
478-
: <dfn method for=Element lt="getSpatialNavigationContainer()">{{Element/getSpatialNavigationContainer()}}</dfn>
479+
: <dfn method for=Element lt="getSpatialNavigationContainer()">getSpatialNavigationContainer()</dfn>
479480
::
480481
1. Return the element if it is a <a>spatial navigation container</a>,
481482
or the nearest ancestor of the element that is a <a>spatial navigation container</a>,

0 commit comments

Comments
 (0)