Skip to content

Commit e9e50a3

Browse files
author
curation-bot
committed
Publish curated data from c594480
Curated data generated from raw data at c594480
1 parent 48eaa21 commit e9e50a3

File tree

9 files changed

+106
-37
lines changed

9 files changed

+106
-37
lines changed

ed/algorithms/encoding.json

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -874,17 +874,17 @@
874874
"rationale": "if",
875875
"steps": [
876876
{
877-
"html": "If <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate\">pending high surrogate</a> is non-null, then:",
877+
"html": "If <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate\">leading surrogate</a> is non-null, then:",
878878
"rationale": "let",
879879
"steps": [
880880
{
881-
"html": "<p>Let <var>high surrogate</var> be <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate①\">pending high surrogate</a>. </p>"
881+
"html": "<p>Let <var>leadingSurrogate</var> be <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate①\">leading surrogate</a>. </p>"
882882
},
883883
{
884-
"html": "<p>Set <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate②\">pending high surrogate</a> to null. </p>"
884+
"html": "<p>Set <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate②\">leading surrogate</a> to null. </p>"
885885
},
886886
{
887-
"html": "<p>If <var>item</var> is in the range U+DC00 to U+DFFF, inclusive, then return a scalar value\n whose value is 0x10000 + ((<var>high surrogate</var> − 0xD800) &lt;&lt; 10) +\n (<var>item</var> − 0xDC00). </p>"
887+
"html": "<p>If <var>item</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#trailing-surrogate\" id=\"ref-for-trailing-surrogate①\">trailing surrogate</a>, then return a <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#scalar-value-from-surrogates\" id=\"ref-for-scalar-value-from-surrogates\">scalar value from surrogates</a> given <var>leadingSurrogate</var> and <var>item</var>. </p>"
888888
},
889889
{
890890
"html": "<p><a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#concept-stream-prepend\" id=\"ref-for-concept-stream-prepend②\">Restore</a> <var>item</var> to <var>input</var>. </p>"
@@ -895,10 +895,10 @@
895895
]
896896
},
897897
{
898-
"html": "<p>If <var>item</var> is in the range U+D800 to U+DBFF, inclusive, then set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate③\">pending high\n surrogate</a> to <var>item</var> and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#continue\" id=\"ref-for-continue③\">continue</a>. </p>"
898+
"html": "<p>If <var>item</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#leading-surrogate\" id=\"ref-for-leading-surrogate②\">leading surrogate</a>, then set <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate③\">leading surrogate</a> to <var>item</var> and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#continue\" id=\"ref-for-continue③\">continue</a>. </p>"
899899
},
900900
{
901-
"html": "<p>If <var>item</var> is in the range U+DC00 to U+DFFF, inclusive, then return U+FFFD. </p>"
901+
"html": "<p>If <var>item</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#trailing-surrogate\" id=\"ref-for-trailing-surrogate②\">trailing surrogate</a>, then return U+FFFD. </p>"
902902
},
903903
{
904904
"html": "<p>Return <var>item</var>. </p>"
@@ -912,7 +912,7 @@
912912
"rationale": "if",
913913
"steps": [
914914
{
915-
"html": "If <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate④\">pending high surrogate</a> is non-null, then:",
915+
"html": "If <var>encoder</var>’s <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate\" id=\"ref-for-textencoderstream-pending-high-surrogate④\">leading surrogate</a> is non-null, then:",
916916
"rationale": "let",
917917
"steps": [
918918
{
@@ -1256,6 +1256,9 @@
12561256
{
12571257
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#gbk-flag\" id=\"ref-for-gbk-flag①\">is GBK</a> is true and <var>code point</var> is\n U+20AC, return byte 0x80. </p>"
12581258
},
1259+
{
1260+
"html": "<p>If there is a row in the table below whose first column is <var>code point</var>, then return\n the two bytes on the same row listed in the second column: </p>\n <table>\n <tbody>\n <tr>\n <th>Code point \n </th><th>Bytes \n </th></tr><tr>\n <td>U+E78D \n </td><td>0xA6 0xD9 \n </td></tr><tr>\n <td>U+E78E \n </td><td>0xA6 0xDA \n </td></tr><tr>\n <td>U+E78F \n </td><td>0xA6 0xDB \n </td></tr><tr>\n <td>U+E790 \n </td><td>0xA6 0xDC \n </td></tr><tr>\n <td>U+E791 \n </td><td>0xA6 0xDD \n </td></tr><tr>\n <td>U+E792 \n </td><td>0xA6 0xDE \n </td></tr><tr>\n <td>U+E793 \n </td><td>0xA6 0xDF \n </td></tr><tr>\n <td>U+E794 \n </td><td>0xA6 0xEC \n </td></tr><tr>\n <td>U+E795 \n </td><td>0xA6 0xED \n </td></tr><tr>\n <td>U+E796 \n </td><td>0xA6 0xF3 \n </td></tr><tr>\n <td>U+E81E \n </td><td>0xFE 0x59 \n </td></tr><tr>\n <td>U+E826 \n </td><td>0xFE 0x61 \n </td></tr><tr>\n <td>U+E82B \n </td><td>0xFE 0x66 \n </td></tr><tr>\n <td>U+E82C \n </td><td>0xFE 0x67 \n </td></tr><tr>\n <td>U+E832 \n </td><td>0xFE 0x6D \n </td></tr><tr>\n <td>U+E843 \n </td><td>0xFE 0x7E \n </td></tr><tr>\n <td>U+E854 \n </td><td>0xFE 0x90 \n </td></tr><tr>\n <td>U+E864 \n </td><td>0xFE 0xA0 \n </td></tr></tbody></table>"
1261+
},
12591262
{
12601263
"html": "<p>Let <var>pointer</var> be the <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#index-pointer\" id=\"ref-for-index-pointer③\">index pointer</a> for <var>code point</var> in <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#index-gb18030\" id=\"ref-for-index-gb18030②\">index gb18030</a>. </p>"
12611264
},
@@ -1976,10 +1979,10 @@
19761979
"rationale": "if",
19771980
"steps": [
19781981
{
1979-
"html": "<p>If <var>byte</var> is <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#end-of-stream\" id=\"ref-for-end-of-stream⑥①\">end-of-queue</a> and either <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte\">UTF-16 lead byte</a> or <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate\">UTF-16 lead surrogate</a> is non-null, set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte①\">UTF-16 lead byte</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate①\">UTF-16 lead surrogate</a> to null, and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#error\" id=\"ref-for-error⑤⑨\">error</a>. </p>"
1982+
"html": "<p>If <var>byte</var> is <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#end-of-stream\" id=\"ref-for-end-of-stream⑥①\">end-of-queue</a> and either <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte\">UTF-16 lead byte</a> or <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate\">UTF-16 leading surrogate</a> is non-null, set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte①\">UTF-16 lead byte</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate①\">UTF-16 leading surrogate</a> to null, and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#error\" id=\"ref-for-error⑤⑨\">error</a>. </p>"
19801983
},
19811984
{
1982-
"html": "<p>If <var>byte</var> is <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#end-of-stream\" id=\"ref-for-end-of-stream⑥②\">end-of-queue</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte②\">UTF-16 lead byte</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate②\">UTF-16 lead surrogate</a> are null, return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#finished\" id=\"ref-for-finished②⑥\">finished</a>. </p>"
1985+
"html": "<p>If <var>byte</var> is <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#end-of-stream\" id=\"ref-for-end-of-stream⑥②\">end-of-queue</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte②\">UTF-16 lead byte</a> and <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate②\">UTF-16 leading surrogate</a> are null, return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#finished\" id=\"ref-for-finished②⑥\">finished</a>. </p>"
19831986
},
19841987
{
19851988
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte③\">UTF-16 lead byte</a> is null, set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-byte\" id=\"ref-for-utf-16-lead-byte④\">UTF-16 lead byte</a> to <var>byte</var> and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#continue\" id=\"ref-for-continue②①\">continue</a>. </p>"
@@ -2004,11 +2007,17 @@
20042007
]
20052008
},
20062009
{
2007-
"html": "If <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate③\">UTF-16 lead surrogate</a> is non-null, let <var>lead surrogate</var> be <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate④\">UTF-16 lead surrogate</a>, set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate⑤\">UTF-16 lead surrogate</a> to null, and then:",
2008-
"rationale": "if",
2010+
"html": "If <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate③\">UTF-16 leading surrogate</a> is non-null:",
2011+
"rationale": "let",
20092012
"steps": [
20102013
{
2011-
"html": "<p>If <var>code unit</var> is in the range U+DC00 to U+DFFF, inclusive,\n return a code point whose value is\n 0x10000 + ((<var>lead surrogate</var> − 0xD800) &lt;&lt; 10) + (<var>code unit</var> − 0xDC00). </p>"
2014+
"html": "<p>Let <var>leadingSurrogate</var> be <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate④\">UTF-16 leading surrogate</a>. </p>"
2015+
},
2016+
{
2017+
"html": "<p>Set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate⑤\">UTF-16 leading surrogate</a> to null. </p>"
2018+
},
2019+
{
2020+
"html": "<p>If <var>code unit</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#trailing-surrogate\" id=\"ref-for-trailing-surrogate③\">trailing surrogate</a>, then return a <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#scalar-value-from-surrogates\" id=\"ref-for-scalar-value-from-surrogates①\">scalar value from surrogates</a> given <var>leadingSurrogate</var> and <var>code unit</var>. </p>"
20122021
},
20132022
{
20142023
"html": "<p>Let <var>byte1</var> be <var>code unit</var> &gt;&gt; 8. </p>"
@@ -2025,10 +2034,10 @@
20252034
]
20262035
},
20272036
{
2028-
"html": "<p>If <var>code unit</var> is in the range U+D800 to U+DBFF, inclusive, set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate⑥\">UTF-16 lead surrogate</a> to <var>code unit</var> and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#continue\" id=\"ref-for-continue②②\">continue</a>. </p>"
2037+
"html": "<p>If <var>code unit</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#leading-surrogate\" id=\"ref-for-leading-surrogate③\">leading surrogate</a>, then set <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#utf-16-lead-surrogate\" id=\"ref-for-utf-16-lead-surrogate⑥\">UTF-16 leading surrogate</a> to <var>code unit</var> and return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#continue\" id=\"ref-for-continue②②\">continue</a>. </p>"
20292038
},
20302039
{
2031-
"html": "<p>If <var>code unit</var> is in the range U+DC00 to U+DFFF, inclusive,\n return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#error\" id=\"ref-for-error⑥①\">error</a>. </p>"
2040+
"html": "<p>If <var>code unit</var> is a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#trailing-surrogate\" id=\"ref-for-trailing-surrogate④\">trailing surrogate</a>, then return <a data-link-type=\"dfn\" href=\"https://encoding.spec.whatwg.org/#error\" id=\"ref-for-error⑥①\">error</a>. </p>"
20322041
},
20332042
{
20342043
"html": "<p>Return code point <var>code unit</var>. </p>"

ed/dfns/encoding.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,25 @@
168168
},
169169
"definedIn": "prose"
170170
},
171+
{
172+
"id": "scalar-value-from-surrogates",
173+
"href": "https://encoding.spec.whatwg.org/#scalar-value-from-surrogates",
174+
"linkingText": [
175+
"scalar value from surrogates"
176+
],
177+
"localLinkingText": [],
178+
"type": "dfn",
179+
"for": [],
180+
"access": "private",
181+
"informative": false,
182+
"heading": {
183+
"id": "terminology",
184+
"href": "https://encoding.spec.whatwg.org/#terminology",
185+
"title": "Terminology",
186+
"number": "3"
187+
},
188+
"definedIn": "prose"
189+
},
171190
{
172191
"id": "encoding",
173192
"href": "https://encoding.spec.whatwg.org/#encoding",
@@ -1822,7 +1841,7 @@
18221841
"id": "textencoderstream-pending-high-surrogate",
18231842
"href": "https://encoding.spec.whatwg.org/#textencoderstream-pending-high-surrogate",
18241843
"linkingText": [
1825-
"pending high surrogate"
1844+
"leading surrogate"
18261845
],
18271846
"localLinkingText": [],
18281847
"type": "dfn",
@@ -3651,7 +3670,7 @@
36513670
"id": "utf-16-lead-surrogate",
36523671
"href": "https://encoding.spec.whatwg.org/#utf-16-lead-surrogate",
36533672
"linkingText": [
3654-
"UTF-16 lead surrogate"
3673+
"UTF-16 leading surrogate"
36553674
],
36563675
"localLinkingText": [],
36573676
"type": "dfn",

ed/headings/vibration.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,33 +58,40 @@
5858
"title": "Acknowledgements",
5959
"number": "A"
6060
},
61+
{
62+
"id": "changes",
63+
"href": "https://w3c.github.io/vibration/#changes",
64+
"level": 2,
65+
"title": "Changes",
66+
"number": "B"
67+
},
6168
{
6269
"id": "idl-index",
6370
"href": "https://w3c.github.io/vibration/#idl-index",
6471
"level": 2,
6572
"title": "IDL Index",
66-
"number": "B"
73+
"number": "C"
6774
},
6875
{
6976
"id": "references",
7077
"href": "https://w3c.github.io/vibration/#references",
7178
"level": 2,
7279
"title": "References",
73-
"number": "C"
80+
"number": "D"
7481
},
7582
{
7683
"id": "normative-references",
7784
"href": "https://w3c.github.io/vibration/#normative-references",
7885
"level": 3,
7986
"title": "Normative references",
80-
"number": "C.1"
87+
"number": "D.1"
8188
},
8289
{
8390
"id": "informative-references",
8491
"href": "https://w3c.github.io/vibration/#informative-references",
8592
"level": 3,
8693
"title": "Informative references",
87-
"number": "C.2"
94+
"number": "D.2"
8895
}
8996
]
9097
}

0 commit comments

Comments
 (0)