Skip to content

Commit

Permalink
Editorial: align with WebIDL and Infra
Browse files Browse the repository at this point in the history
  • Loading branch information
momdo authored Jan 25, 2021
1 parent f6bc62f commit 31b3458
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2195,6 +2195,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li id="case-sensitive">The string equality operations <dfn data-x-href="https://infra.spec.whatwg.org/#string-is">is</dfn> and
<dfn data-x-href="https://infra.spec.whatwg.org/#string-is">identical to</dfn></li>
<li><dfn data-x-href="https://infra.spec.whatwg.org/#scalar-value-string">scalar value string</dfn></li>
<li><dfn data-x-href="https://infra.spec.whatwg.org/#javascript-string-convert">convert</dfn></li>
<li><dfn id="space-characters" data-x-href="https://infra.spec.whatwg.org/#ascii-whitespace">ASCII whitespace</dfn></li>
<li><dfn data-x-href="https://infra.spec.whatwg.org/#control">control</dfn></li>
<li><dfn data-x="ASCII digits" data-x-href="https://infra.spec.whatwg.org/#ascii-digit">ASCII digit</dfn></li>
Expand Down Expand Up @@ -2651,8 +2652,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="concept-idl-convert" data-x-href="https://heycam.github.io/webidl/#es-type-mapping">converting</dfn> between Web IDL types and JS types</li>
<li><dfn data-x="es-invoking-callback-functions" data-x-href="https://heycam.github.io/webidl/#invoke-a-callback-function">invoking</dfn> and
<dfn data-x="es-constructing-callback-functions" data-x-href="https://heycam.github.io/webidl/#construct-a-callback-function">constructing</dfn> callback functions</li>
<li><dfn data-x-href="https://heycam.github.io/webidl/#dfn-obtain-unicode">converting to a
sequence of Unicode scalar values</dfn></li>
<li><dfn data-x-href="https://heycam.github.io/webidl/#dfn-overload-resolution-algorithm">overload resolution algorithm</dfn></li>
<li><dfn data-x="idl-exposed" data-x-href="https://heycam.github.io/webidl/#dfn-exposed">exposed</dfn></li>
<li><dfn data-x-href="https://heycam.github.io/webidl/#a-promise-rejected-with">a promise rejected with</dfn></li>
Expand All @@ -2676,7 +2675,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="idl-DOMString" data-x-href="https://heycam.github.io/webidl/#idl-DOMString"><code>DOMString</code></dfn></li>
<li><dfn data-x="idl-double" data-x-href="https://heycam.github.io/webidl/#idl-double"><code>double</code></dfn></li>
<li><dfn data-x="IDL enumeration" data-x-href="https://heycam.github.io/webidl/#idl-enums">enumeration</dfn></li>
<li><dfn data-x="idl-Error" data-x-href="https://heycam.github.io/webidl/#idl-Error"><code>Error</code></dfn></li>
<li><dfn data-x="idl-Function" data-x-href="https://heycam.github.io/webidl/#common-Function"><code>Function</code></dfn></li>
<li><dfn data-x="idl-long" data-x-href="https://heycam.github.io/webidl/#idl-long"><code>long</code></dfn></li>
<li><dfn data-x="idl-object" data-x-href="https://heycam.github.io/webidl/#idl-object"><code>object</code></dfn></li>
Expand Down Expand Up @@ -56437,8 +56435,8 @@ fur
and every occurrence of U+000A (LF) not preceded by U+000D (CR), by a string consisting of a
U+000D (CR) and U+000A (LF).</p></li>

<li><p>Replace <var>name</var> with the result of <span>converting to a sequence of Unicode
scalar values</span>.</p></li>
<li><p>Set <var>name</var> to the result of <span data-x="convert">converting</span>
<var>name</var>.</p></li>

<li>
<p>If <var>value</var> is not a <code>File</code> object, then:</p>
Expand All @@ -56449,8 +56447,8 @@ fur
preceded by U+000D (CR) in <var>value</var>, by a string consisting of a U+000D (CR) and
U+000A (LF).</p></li>

<li><p>Replace <var>value</var> with the result of <span>converting to a sequence of Unicode
scalar values</span>.</p></li>
<li><p>Set <var>value</var> to the result of <span data-x="convert">converting</span>
<var>value</var>.</p></li>
</ol>
</li>

Expand Down Expand Up @@ -89423,8 +89421,8 @@ document.querySelector("button").addEventListener("click", bound);

<li><p>Let <var>errorValue</var> be the value that represents the error: in the case of an
uncaught exception, that would be the value that was thrown; in the case of a JavaScript error
that would be an <code data-x="idl-Error">Error</code> object. If there is no corresponding
value, then the null value must be used instead.</p></li>
that would be an <code data-x="">Error</code> object. If there is no corresponding value, then
the null value must be used instead.</p></li>

<li>
<p>Let <var>urlString</var> be the result of applying the <span
Expand Down

0 comments on commit 31b3458

Please sign in to comment.