Skip to content

Commit 813ea0b

Browse files
pmdartusinikulin
authored andcommitted
Reorganize errors table in lexical order (#20)
1 parent 87bc422 commit 813ea0b

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

source

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -99918,18 +99918,18 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
9991899918
references as-is except C1 control references that are replaced according to the <span>numeric
9991999919
character reference end state</span>.</p>
9992099920

99921-
<tr>
99922-
<td><dfn data-x="parse-error-end-tag-with-attributes">end-tag-with-attributes</dfn>
99923-
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
99924-
tag</span> with <span data-x="syntax-attributes">attributes</span>. Attributes in end tags are
99925-
completely ignored and do not make their way into the DOM.</p>
99926-
9992799921
<tr>
9992899922
<td><dfn data-x="parse-error-duplicate-attribute">duplicate-attribute</dfn>
9992999923
<td><p>This error occurs if the parser encounters an <span
9993099924
data-x="syntax-attributes">attribute</span> in a tag that already has an attribute with the
9993199925
same name. The parser ignores all such duplicate occurrences of the attribute.
9993299926

99927+
<tr>
99928+
<td><dfn data-x="parse-error-end-tag-with-attributes">end-tag-with-attributes</dfn>
99929+
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
99930+
tag</span> with <span data-x="syntax-attributes">attributes</span>. Attributes in end tags are
99931+
completely ignored and do not make their way into the DOM.</p>
99932+
9993399933
<tr>
9993499934
<td><dfn data-x="parse-error-end-tag-with-trailing-solidus">end-tag-with-trailing-solidus</dfn>
9993599935
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
@@ -100043,6 +100043,15 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100043100043
<span data-x="syntax-attributes">attribute</span> value is expected (e.g., <code
100044100044
data-x="">&lt;div id=></code>). The parser treats the attribute as having an empty value.</p>
100045100045

100046+
<tr>
100047+
<td><dfn data-x="parse-error-missing-doctype">missing-doctype</dfn>
100048+
<td>
100049+
<p>This error occurs if the parser encounters any content other than <span
100050+
data-x="syntax-comments">comments</span> or <span>ASCII whitespace</span> before <span
100051+
data-x="syntax-doctype">DOCTYPE</span> at the beginning of the document, i.e. DOCTYPE is not
100052+
a document preamble. In this case the parser sets the <code>Document</code> to <span>quirks
100053+
mode</span>.</p>
100054+
100046100055
<tr>
100047100056
<td><dfn data-x="parse-error-missing-doctype-name">missing-doctype-name</dfn>
100048100057
<td><p>This error occurs if the parser encounters a <span
@@ -100145,18 +100154,6 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100145100154
--></code>). Such a comment will be closed by the first occuring "<code data-x="">--></code>"
100146100155
<span>code point</span> sequence and everything that follows will be treated as markup.</p>
100147100156

100148-
<tr>
100149-
<td><dfn data-x="parse-error-noncharacter-character-reference">noncharacter-character-reference</dfn>
100150-
<td><p>This error occurs if the parser encounters a numeric <span
100151-
data-x="syntax-charref">character reference</span> that references a <span>noncharacter</span>.
100152-
The parser resolves such character references as-is.</p>
100153-
100154-
<tr>
100155-
<td><dfn data-x="parse-error-noncharacter-in-input-stream">noncharacter-in-input-stream</dfn>
100156-
<td><p>This error occurs if the <span>input stream</span> contains a <span>noncharacter</span>.
100157-
Such <span data-x="code point">code points</span> are parsed as-is and usually, where parsing
100158-
rules don't apply any additional restrictions, make their way into the DOM.</p>
100159-
100160100157
<tr>
100161100158
<td><dfn data-x="parse-error-non-conforming-doctype">non-conforming-doctype</dfn>
100162100159
<td><p>This error occurs if the parser encounters the <span
@@ -100189,6 +100186,18 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100189100186
content to specify self-closing tags. (Self-closing tags don't exist in HTML.) It is also
100190100187
allowed for void elements, but doesn't have any effect in this case.</p>
100191100188

100189+
<tr>
100190+
<td><dfn data-x="parse-error-noncharacter-character-reference">noncharacter-character-reference</dfn>
100191+
<td><p>This error occurs if the parser encounters a numeric <span
100192+
data-x="syntax-charref">character reference</span> that references a <span>noncharacter</span>.
100193+
The parser resolves such character references as-is.</p>
100194+
100195+
<tr>
100196+
<td><dfn data-x="parse-error-noncharacter-in-input-stream">noncharacter-in-input-stream</dfn>
100197+
<td><p>This error occurs if the <span>input stream</span> contains a <span>noncharacter</span>.
100198+
Such <span data-x="code point">code points</span> are parsed as-is and usually, where parsing
100199+
rules don't apply any additional restrictions, make their way into the DOM.</p>
100200+
100192100201
<tr>
100193100202
<td><dfn data-x="parse-error-null-character-reference">null-character-reference</dfn>
100194100203
<td><p>This error occurs if the parser encounters a numeric <span
@@ -100271,15 +100280,6 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100271100280
data-x="">foo</code>" attribute to "<code data-x="">b'ar'</code>".</p>
100272100281
</div>
100273100282

100274-
<tr>
100275-
<td><dfn data-x="parse-error-missing-doctype">missing-doctype</dfn>
100276-
<td>
100277-
<p>This error occurs if the parser encounters any content other than <span
100278-
data-x="syntax-comments">comments</span> or <span>ASCII whitespace</span> before <span
100279-
data-x="syntax-doctype">DOCTYPE</span> at the beginning of the document, i.e. DOCTYPE is not
100280-
a document preamble. In this case the parser sets the <code>Document</code> to <span>quirks
100281-
mode</span>.</p>
100282-
100283100283
<tr>
100284100284
<td><dfn data-x="parse-error-unexpected-equals-sign-before-attribute-name">unexpected-equals-sign-before-attribute-name</dfn>
100285100285
<td>

0 commit comments

Comments
 (0)