Skip to content

Commit 53a1022

Browse files
foolipAutomatedTester
authored andcommitted
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 3303c7a commit 53a1022

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

index.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -219,28 +219,25 @@ <h2>Terminology</h2>
219219
</section> <!-- /Terminology -->
220220

221221

222-
<section data-dfn-for=NavigatorAutomationInformation data-link-for=NavigatorAutomationInformation>
222+
<section>
223223
<h2>Interface</h2>
224224

225225
<p>
226226
The <dfn>webdriver-active flag</dfn>
227227
is set to true when the user agent is under remote control.
228228
It is initially false.
229229

230-
<pre class=idl>
231-
<a>Navigator</a> includes <a>NavigatorAutomationInformation</a>;
232-
</pre>
233-
234-
<p>
235-
Note that the <dfn>NavigatorAutomationInformation</dfn> interface
236-
should not be exposed on <a><code>WorkerNavigator</code></a>.
237-
238230
<pre class=idl>
239231
interface mixin NavigatorAutomationInformation {
240-
readonly attribute boolean webdriver;
232+
readonly attribute boolean webdriver;
241233
};
234+
Navigator includes NavigatorAutomationInformation;
242235
</pre>
243236

237+
<p class=note>
238+
The {{NavigatorAutomationInformation}} interface
239+
should not be exposed on {{WorkerNavigator}}.
240+
244241
<dl>
245242
<dt><dfn>webdriver</dfn>
246243
<dd>

0 commit comments

Comments
 (0)