Skip to content

Commit 45f9afd

Browse files
committed
Tweak IDL definition style to avoid unused <dfn>
<dfn>NavigatorAutomationInformation</dfn> was unused and results in a warning when converting to Bikeshed. Use a style closer to the "ideal linking setup" instead: https://github.com/w3c/respec/wiki/WebIDL-Guide data-dfn-for/data-link-for are no longer needed with this setup.
1 parent 7d59c80 commit 45f9afd

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

index.bs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,20 +199,17 @@ The <dfn>webdriver-active flag</dfn>
199199
is set to true when the user agent is under remote control.
200200
It is initially false.
201201

202-
<pre class=idl>
203-
<a>Navigator</a> includes <a>NavigatorAutomationInformation</a>;
204-
</pre>
205-
206-
<p>
207-
Note that the <dfn>NavigatorAutomationInformation</dfn> interface
208-
should not be exposed on <a><code>WorkerNavigator</code></a>.
209-
210202
<pre class=idl>
211203
interface mixin NavigatorAutomationInformation {
212-
readonly attribute boolean webdriver;
204+
readonly attribute boolean webdriver;
213205
};
206+
Navigator includes NavigatorAutomationInformation;
214207
</pre>
215208

209+
<p class=note>
210+
The {{NavigatorAutomationInformation}} interface
211+
should not be exposed on {{WorkerNavigator}}.
212+
216213
<dl>
217214
<dt><dfn>webdriver</dfn>
218215
<dd>

0 commit comments

Comments
 (0)