Skip to content

Commit 33c1f38

Browse files
foolipAutomatedTester
authored andcommitted
Fix various minor mishaps with <dfn> and <a>
Discovered while converting to Bikeshed but also affects ReSpec: - data-lt=go and data-lt="input type state" don't work since there's no matching <dfn>. - data-lt=perform-actions doesn't make sense, the "Perform Actions" section isn't the intended target. - Duplicate "Resettable element" definition - Broken canvas width/height links
1 parent 162e738 commit 33c1f38

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

index.html

+14-15
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ <h2>Capabilities</h2>
14611461
<td>"<code>acceptInsecureCerts</code>"
14621462
<td>boolean
14631463
<td>Indicates whether untrusted and self-signed TLS certificates
1464-
are implicitly trusted on <a data-lt=go>navigation</a>
1464+
are implicitly trusted on <a>navigation</a>
14651465
for the duration of the <a>session</a>.
14661466
</tr>
14671467

@@ -1913,7 +1913,7 @@ <h3>Processing capabilities</h3>
19131913
<dt>"<code>acceptInsecureCerts</code>"
19141914
<dd><a>Boolean</a> initially set to false,
19151915
indicating the session will not implicitly trust untrusted
1916-
or self-signed TLS certificates on <a data-lt=go>navigation</a>.
1916+
or self-signed TLS certificates on <a>navigation</a>.
19171917

19181918
<dt>"<code>strictFileInteractability</code>"
19191919
<dd><a>Boolean</a> initially set to false,
@@ -2133,7 +2133,7 @@ <h2>Sessions</h2>
21332133
that indicates whether untrusted or self-signed TLS certificates
21342134
should be trusted for the duration of the WebDriver session.
21352135
If it is unset, this indicates that certificate- or TLS errors
2136-
that occur upon <a data-lt=go>navigation</a> should be suppressed.
2136+
that occur upon <a>navigation</a> should be suppressed.
21372137
The state can be unset by providing
21382138
an "<code>acceptInsecureCerts</code>" <a>capability</a> with the value true.
21392139
Unless stated otherwise, it is set.
@@ -5579,7 +5579,7 @@ <h4><dfn>Element Send Keys</dfn></h4>
55795579
<p>
55805580
A <dfn>non-typeable form control</dfn>
55815581
is an <a><code>input</code> element</a>
5582-
whose <a data-lt="input type state"><code>type</code> attribute</a> state
5582+
whose <a><code>type</code> attribute</a> state
55835583
causes the primary input mechanism
55845584
not to be through means of a keyboard, whether virtual or physical.
55855585

@@ -8072,7 +8072,7 @@ <h2>Keyboard actions</h2>
80728072
the <var>subtype</var> property changed to "<code>keyUp</code>"
80738073
to <a>current session</a>’s <a>input cancel list</a>.
80748074

8075-
<li><p><a data-lt=perform-actions>Perform implementation-specific
8075+
<li><p><a>Perform implementation-specific
80768076
action dispatch steps</a> equivalent to pressing a key on the
80778077
keyboard in accordance with the requirements of [[UI-EVENTS]], and
80788078
producing the following events, as appropriate, with the specified
@@ -8174,7 +8174,7 @@ <h2>Keyboard actions</h2>
81748174
<li><p>Remove <var>key</var> from the set corresponding
81758175
to <var>input state</var>’s <code>pressed</code> property.
81768176

8177-
<li><p><a data-lt=perform-actions>Perform implementation-specific
8177+
<li><p><a>Perform implementation-specific
81788178
action dispatch steps</a> equivalent to releasing a key on the
81798179
keyboard in accordance with the requirements of [[UI-EVENTS]], and
81808180
producing at least the following events with the specified
@@ -8239,7 +8239,7 @@ <h2>Pointer actions</h2>
82398239
the <var>subtype</var> property changed to "<code>pointerUp</code>" to
82408240
the <a>current session</a>’s <a>input cancel list</a>.
82418241

8242-
<li><p><a data-lt="perform-actions">Perform implementation-specific
8242+
<li><p><a>Perform implementation-specific
82438243
action dispatch steps</a> equivalent to pressing the button
82448244
numbered <var>button</var> on the pointer with ID
82458245
<var>source id</var>, having type <var>pointerType</var> at
@@ -8287,7 +8287,7 @@ <h2>Pointer actions</h2>
82878287
let <var>buttons</var> be the resulting value of that
82888288
property.
82898289

8290-
<li><p><a data-lt=perform-actions>Perform implementation-specific
8290+
<li><p><a>Perform implementation-specific
82918291
action dispatch steps</a> equivalent to releasing the button
82928292
numbered <var>button</var> on the pointer of ID
82938293
<var>source id</var> having type <var>pointerType</var> at
@@ -8435,7 +8435,7 @@ <h2>Pointer actions</h2>
84358435
<li><p>Let <var>buttons</var> be equal to input
84368436
state’s <code>buttons</code> property.
84378437

8438-
<li><p><a data-lt="perform-actions">Perform implementation-specific
8438+
<li><p><a>Perform implementation-specific
84398439
action dispatch steps</a> equivalent to moving the pointer with
84408440
ID <var>source id</var> having type <var>pointerType</var> from
84418441
viewport x coordinate <var>current x</var>, viewport y
@@ -8500,7 +8500,7 @@ <h2>Pointer actions</h2>
85008500
<a>remote end</a> must run the following steps:
85018501

85028502
<ol>
8503-
<li><p><a data-lt=perform-actions>Perform implementation-specific
8503+
<li><p><a>Perform implementation-specific
85048504
action dispatch steps</a> equivalent to cancelling the any action of
85058505
the pointer with ID <var>source id</var> having
85068506
type <var>pointerType</var>, in accordance with the requirements of
@@ -8616,7 +8616,7 @@ <h2>User prompts</h2>
86168616

86178617
<p><a>User prompts</a> that are spawned
86188618
from <a><code>beforeunload</code></a> event handlers,
8619-
are <a>dismissed</a> implicitly upon <a data-lt=go>navigation</a>
8619+
are <a>dismissed</a> implicitly upon <a>navigation</a>
86208620
or <a>close window</a>,
86218621
regardless of the defined <a>user prompt handler</a>.
86228622

@@ -9879,8 +9879,7 @@ <h2>Index</h2>
98799879
<!-- Raw value --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-textarea-raw-value>Raw value</a></dfn>
98809880
<!-- Refresh state pragma directive --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-meta-http-equiv-refresh>Refresh state pragma directive</a></dfn>
98819881
<!-- Reset algorithm --> <li><dfn data-lt="reset algorithms"><a href=https://html.spec.whatwg.org/#concept-form-reset-control>Reset algorithm</a></dfn>
9882-
<!-- Resettable element --> <li><dfn data-lt="resettable elements"><a href=https://html.spec.whatwg.org/#category-reset>Resettable</a></dfn> element
9883-
<!-- Resettable element --> <li><dfn><a href=https://html.spec.whatwg.org/#category-reset>Resettable element</a></dfn>
9882+
<!-- Resettable element --> <li><dfn data-lt="resettable elements|resettable"><a href=https://html.spec.whatwg.org/#category-reset>Resettable element</a></dfn>
98849883
<!-- Run the animation frame callbacks --> <li><dfn><a href="https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#run-the-animation-frame-callbacks">Run the animation frame callbacks</a></dfn>
98859884
<!-- Satisfies its constraints --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-fv-valid>Satisfies its constraints</a></dfn>
98869885
<!-- Script --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-script>Script</a></dfn>
@@ -9950,8 +9949,8 @@ <h2>Index</h2>
99509949

99519950
<dd><p>The HTML specification also defines a range of different attributes:
99529951
<ul>
9953-
<!-- Canvas height attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-canvas-height><code>canvas</code>’s height attribute</a></dfn>
9954-
<!-- Canvas width attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-canvas-width><code>canvas</code>’ width attribute</a></dfn>
9952+
<!-- Canvas height attribute --> <li><dfn lt="canvas height attribute"><a href=https://html.spec.whatwg.org/#attr-canvas-height><code>canvas</code>’s height attribute</a></dfn>
9953+
<!-- Canvas width attribute --> <li><dfn lt="canvas width attribute"><a href=https://html.spec.whatwg.org/#attr-canvas-width><code>canvas</code>’ width attribute</a></dfn>
99559954
<!-- Checked content attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-input-checked>Checked</a></dfn>
99569955
<!-- Multiple attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-input-multiple><code>multiple</code> attribute</a></dfn>
99579956
<!-- readOnly attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#the-readonly-attribute><code>readOnly</code> attribute</a></dfn>

0 commit comments

Comments
 (0)