Skip to content

Commit 03d284e

Browse files
committed
Merge pull request #5 from w3c/use-contiguous-idl
Editorial: Use Contiguous IDL
2 parents 1cee156 + 6b6c527 commit 03d284e

File tree

1 file changed

+12
-25
lines changed

1 file changed

+12
-25
lines changed

index.html

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
],
2424
inlineCSS: true,
2525
noIDLIn: true,
26-
noLegacyStyle:true,
2726
wg: "Device APIs Working Group",
2827
wgURI: "http://www.w3.org/2009/dap/",
2928
wgPublicList: "public-device-apis",
@@ -126,36 +125,24 @@

126125
<h2>
127126
Vibration Interface
128127
h2>
129-
<dl title=
130-
"typedef (unsigned long or sequence<unsigned long>) VibratePattern"
131-
class="idl">dl>
132-
<dl title='partial interface Navigator' class='idl' data-merge=
133-
"VibratePattern">
134-
<dt>
135-
boolean vibrate()
136-
dt>
137-
<dd>
138-
<dl class='parameters'>
139-
<dt>
140-
VibratePattern pattern
141-
dt>
142-
<dd>dd>
143-
dl>
144-
dd>
145-
dl>
146-
<p>
147-
The <code id=
148-
"widl-Navigator-vibrate-boolean-unsigned-long-sequence-unsigned-long--pattern">
149-
vibrate()code> method, when invoked, MUST run the algorithm for
150-
<a>processing vibration patternsa>.
128+
<pre class="idl">
129+
typedef (unsigned long or sequence<unsigned long>) VibratePattern;
130+
131+
partial interface Navigator {
132+
boolean vibrate (VibratePattern pattern);
133+
};
134+
pre>
135+
<p link-for="Navigator">
136+
The <code><a>vibratea>()code> method, when invoked, MUST run the
137+
algorithm for <a>processing vibration patternsa>.
151138
p>
152139
<p>
153140
The rules for <dfn>processing vibration patternsdfn> are as given in
154141
the following algorithm:
155142
p>
156-
<ol>
143+
<ol link-for="Navigator">
157144
<li>Let <var>patternvar> be the first method argument of the
158-
<code>vibrate()code> method.
145+
<code><a>vibratea>()code> method.
159146
li>
160147
<li>Let <var>valid patternvar> be the result of passing
161148
<var>patternvar> to <a>validate and normalizea>.

0 commit comments

Comments
 (0)