Skip to content

Commit d896b31

Browse files
foolipAutomatedTester
authored andcommitted
Fix mistaken use and typos with <var>
These are issues discovered by Bikeshed, but the fixes can be applied to the current spec as well, to make the future conversion smaller.
1 parent 1660c18 commit d896b31

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

index.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ <h3>Processing model</h3>
533533
a <a>remote end</a> must run the following steps:</p>
534534

535535
<ol>
536-
<li><p>Let <var>http status</var> and <var>name</var>
536+
<li><p>Let <var>status</var> and <var>name</var>
537537
be the <a>error response data</a> for <var>error code</var>.
538538

539539
<li><p>Let <var>message</var> be an implementation-defined string
@@ -1336,7 +1336,7 @@ <h2>Extensions</h2>
13361336

13371337
<aside class=example>
13381338
<p>This might lead to a URL of the form
1339-
<code>/session/5d376174-36f0-11e5-9b9a-6bdf200a3f7f/<var>ms</var>/<var>edge</var>/<var>context</var></code>,
1339+
<code>/session/5d376174-36f0-11e5-9b9a-6bdf200a3f7f/<em>ms</em>/<em>edge</em>/<em>context</em></code>,
13401340
where <code>session/{<var>session id</var>}</code> associates the request
13411341
with the specified session, <code>ms/edge</code> identifies the command as
13421342
specific to the Edge browser distributed by Microsoft,
@@ -1642,7 +1642,7 @@ <h3>Proxy</h3>
16421642
code</a> <a>invalid argument</a>.
16431643

16441644
<li><p>If the result of <a>getting a property</a>
1645-
named <var>proxyType</var> from <var>proxy</var> equals
1645+
named "<code>proxyType</code>" from <var>proxy</var> equals
16461646
"<code>pac</code>", and <var>proxy</var> does not have an
16471647
<a>own property</a> for "<code>proxyAutoconfigUrl</code>" return
16481648
an <a>error</a> with <a>error code</a> <a>invalid argument</a>.
@@ -7143,7 +7143,7 @@ <h2>Processing actions</h2>
71437143
of <var>action</var> in <var>input source actions</var>.
71447144

71457145
<li><p>If the length of <var>actions by tick</var> is less
7146-
than <var>i + 1</var>, append a new <a>List</a> to
7146+
than <var>i</var> + 1, append a new <a>List</a> to
71477147
<var>actions by tick</var>.</li>
71487148

71497149
<li><p>Append <var>action</var> to the <a>List</a> at
@@ -7990,7 +7990,7 @@ <h2>Keyboard actions</h2>
79907990
<var>input state</var>’s <code>pressed</code> property.
79917991

79927992
<li><p>Append a copy of <var>action object</var> with
7993-
the <var>subtype</var> property changed to <var>keyUp</var>
7993+
the <var>subtype</var> property changed to "<code>keyUp</code>"
79947994
to <a>current session</a>’s <a>input cancel list</a>.
79957995

79967996
<li><p><a data-lt=perform-actions>Perform implementation-specific
@@ -8157,7 +8157,7 @@ <h2>Pointer actions</h2>
81578157
let <var>buttons</var> be the resulting value of that property.
81588158

81598159
<li><p>Append a copy of <var>action object</var> with
8160-
the <var>subtype</var> property changed to <var>pointerUp</var> to
8160+
the <var>subtype</var> property changed to "<code>pointerUp</code>" to
81618161
the <a>current session</a>’s <a>input cancel list</a>.
81628162

81638163
<li><p><a data-lt="perform-actions">Perform implementation-specific
@@ -9001,14 +9001,14 @@ <h3><dfn>Take Screenshot</dfn></h3>
90019001
<li><p>Let <var>root rect</var> be the <a>current top-level browsing context</a>’s
90029002
<a>document element</a>’s <a>rectangle</a>.
90039003

9004-
<li><p>Let <var>screenshot</var> be the result of <a>trying</a> to call
9004+
<li><p>Let <var>screenshot result</var> be the result of <a>trying</a> to call
90059005
<a>draw a bounding box from the framebuffer</a>,
90069006
given <var>root rect</var> as an argument.
90079007

90089008
<li><p>Let <var>canvas</var> be a <a><code>canvas</code> element</a>
90099009
of <var>screenshot result</var>’s data.
90109010

9011-
<li><p>Let <var>encoding</var> be the result of <a>trying</a>
9011+
<li><p>Let <var>encoding result</var> be the result of <a>trying</a>
90129012
<a>encoding a canvas as Base64</a> <var>canvas</var>.
90139013

90149014
<li><p>Let <var>encoded string</var> be <var>encoding result</var>’s data.
@@ -9277,7 +9277,7 @@ <h3><dfn>Print Page</dfn></h3>
92779277
<li><p>Let <var>pageRanges</var> be the result of <a>getting a
92789278
property with default</a> named <code>pageRanges</code> from
92799279
the <var>parameters</var> argument with default of an
9280-
empty <var>Array</var>.
9280+
empty <a>Array</a>.
92819281

92829282
<li><p>If <var>pageRanges</var> is not an <a>Array</a>
92839283
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.

0 commit comments

Comments
 (0)