Skip to content

Commit 60fa9de

Browse files
Fix inconsistent headings, Key capitalization, mismatched tags, double li (#42)
SHA: 4e3e644 Reason: push, by twiss Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ab732c5 commit 60fa9de

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

index.html

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,14 +1768,13 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
17681768
<dd>
17691769
<ol>
17701770
<li>
1771-
</li><li>
1772-
<p>
1773-
If <var>usages</var> contains an entry which is not
1774-
"<code>encapsulateKey</code>" or "<code>encapsulateBits</code>"
1775-
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1776-
<a data-link-type="exception" data-lt="SyntaxError" href="https://webidl.spec.whatwg.org/#syntaxerror"><code>SyntaxError</code></a>.
1777-
</p>
1778-
</li>
1771+
<p>
1772+
If <var>usages</var> contains an entry which is not
1773+
"<code>encapsulateKey</code>" or "<code>encapsulateBits</code>"
1774+
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1775+
<a data-link-type="exception" data-lt="SyntaxError" href="https://webidl.spec.whatwg.org/#syntaxerror"><code>SyntaxError</code></a>.
1776+
</p>
1777+
</li>
17791778
<li>
17801779
<p>
17811780
Let <var>spki</var> be the result of running the
@@ -1888,14 +1887,13 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
18881887
<dd>
18891888
<ol>
18901889
<li>
1891-
</li><li>
1892-
<p>
1893-
If <var>usages</var> contains an entry which is not
1894-
"<code>encapsulateKey</code>" or "<code>encapsulateBits</code>"
1895-
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1896-
<a data-link-type="exception" data-lt="SyntaxError" href="https://webidl.spec.whatwg.org/#syntaxerror"><code>SyntaxError</code></a>.
1897-
</p>
1898-
</li>
1890+
<p>
1891+
If <var>usages</var> contains an entry which is not
1892+
"<code>decapsulateKey</code>" or "<code>decapsulateBits</code>"
1893+
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1894+
<a data-link-type="exception" data-lt="SyntaxError" href="https://webidl.spec.whatwg.org/#syntaxerror"><code>SyntaxError</code></a>.
1895+
</p>
1896+
</li>
18991897
<li>
19001898
<p>
19011899
Let <var>privateKeyInfo</var> be the result of running the
@@ -2239,7 +2237,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
22392237
<li>
22402238
<p>
22412239
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
2242-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
2240+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
22432241
</p>
22442242
</li>
22452243
<li>
@@ -2275,7 +2273,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
22752273
<li>
22762274
<p>
22772275
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
2278-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
2276+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
22792277
</p>
22802278
</li>
22812279
</ol>
@@ -3382,7 +3380,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
33823380
<li>
33833381
<p>
33843382
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
3385-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
3383+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
33863384
</p>
33873385
</li>
33883386
<li>
@@ -3418,7 +3416,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
34183416
<li>
34193417
<p>
34203418
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
3421-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
3419+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
34223420
</p>
34233421
</li>
34243422
</ol>
@@ -4610,7 +4608,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
46104608
<li>
46114609
<p>
46124610
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
4613-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
4611+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-private"><code>private</code></a>".
46144612
</p>
46154613
</li>
46164614
<li>
@@ -4646,7 +4644,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
46464644
<li>
46474645
<p>
46484646
Set the <a href="https://www.w3.org/TR/webcrypto-2/#dfn-CryptoKey-slot-type"><code>[[type]]</code></a>
4649-
internal slot of <var>Key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
4647+
internal slot of <var>key</var> to "<a data-link-type="enum-value" href="https://www.w3.org/TR/webcrypto-2/#dom-keytype-public"><code>public</code></a>".
46504648
</p>
46514649
</li>
46524650
</ol>
@@ -6627,7 +6625,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
66276625
<li>
66286626
<p>
66296627
Set the <a data-link-type="dict-member" href="https://www.w3.org/TR/webcrypto-2/#dom-keyalgorithm-name"><code>name</code></a> attribute of
6630-
<var>algorithm</var> to "<code>KMAC</code>".
6628+
<var>algorithm</var> to the <a data-link-type="dict-member" href="https://www.w3.org/TR/webcrypto-2/#dom-algorithm-name"><code>name</code></a> member of <var>normalizedAlgorithm</var>.
66316629
</p>
66326630
</li>
66336631
<li>
@@ -6839,7 +6837,7 @@ <h1 id="title" class="title">Modern Algorithms in the Web Cryptography API</h1>
68396837
<li>
68406838
<p>
68416839
Set the <a data-link-type="dict-member" href="https://www.w3.org/TR/webcrypto-2/#dom-keyalgorithm-name"><code>name</code></a> attribute of
6842-
<var>algorithm</var> to "<code>KMAC</code>".
6840+
<var>algorithm</var> to the <a data-link-type="dict-member" href="https://www.w3.org/TR/webcrypto-2/#dom-algorithm-name"><code>name</code></a> member of <var>normalizedAlgorithm</var>.
68436841
</p>
68446842
</li>
68456843
<li>

0 commit comments

Comments
 (0)