Skip to content

Commit

Permalink
Fix various minor mishaps with <dfn> and <a>
Browse files Browse the repository at this point in the history
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
  • Loading branch information
foolip authored and AutomatedTester committed Jun 1, 2020
1 parent 162e738 commit 33c1f38
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ <h2>Capabilities</h2>
<td>"<code>acceptInsecureCerts</code>"
<td>boolean
<td>Indicates whether untrusted and self-signed TLS certificates
are implicitly trusted on <a data-lt=go>navigation</a>
are implicitly trusted on <a>navigation</a>
for the duration of the <a>session</a>.
</tr>

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

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

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

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

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

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

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

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

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

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

Expand Down Expand Up @@ -9879,8 +9879,7 @@ <h2>Index</h2>
<!-- Raw value --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-textarea-raw-value>Raw value</a></dfn>
<!-- Refresh state pragma directive --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-meta-http-equiv-refresh>Refresh state pragma directive</a></dfn>
<!-- Reset algorithm --> <li><dfn data-lt="reset algorithms"><a href=https://html.spec.whatwg.org/#concept-form-reset-control>Reset algorithm</a></dfn>
<!-- Resettable element --> <li><dfn data-lt="resettable elements"><a href=https://html.spec.whatwg.org/#category-reset>Resettable</a></dfn> element
<!-- Resettable element --> <li><dfn><a href=https://html.spec.whatwg.org/#category-reset>Resettable element</a></dfn>
<!-- Resettable element --> <li><dfn data-lt="resettable elements|resettable"><a href=https://html.spec.whatwg.org/#category-reset>Resettable element</a></dfn>
<!-- 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>
<!-- Satisfies its constraints --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-fv-valid>Satisfies its constraints</a></dfn>
<!-- Script --> <li><dfn><a href=https://html.spec.whatwg.org/#concept-script>Script</a></dfn>
Expand Down Expand Up @@ -9950,8 +9949,8 @@ <h2>Index</h2>

<dd><p>The HTML specification also defines a range of different attributes:
<ul>
<!-- Canvas height attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-canvas-height><code>canvas</code>’s height attribute</a></dfn>
<!-- Canvas width attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-canvas-width><code>canvas</code>’ width attribute</a></dfn>
<!-- 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>
<!-- 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>
<!-- Checked content attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-input-checked>Checked</a></dfn>
<!-- Multiple attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#attr-input-multiple><code>multiple</code> attribute</a></dfn>
<!-- readOnly attribute --> <li><dfn><a href=https://html.spec.whatwg.org/#the-readonly-attribute><code>readOnly</code> attribute</a></dfn>
Expand Down

0 comments on commit 33c1f38

Please sign in to comment.