Skip to content

Commit 8737f8c

Browse files
pmdartusinikulin
authored andcommitted
Reorganize errors table in lexical order (#20)
1 parent 352a43a commit 8737f8c

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
@@ -100175,18 +100175,18 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100175100175
references as-is except C1 control references that are replaced according to the <span>numeric
100176100176
character reference end state</span>.</p>
100177100177

100178-
<tr>
100179-
<td><dfn data-x="parse-error-end-tag-with-attributes">end-tag-with-attributes</dfn>
100180-
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
100181-
tag</span> with <span data-x="syntax-attributes">attributes</span>. Attributes in end tags are
100182-
completely ignored and do not make their way into the DOM.</p>
100183-
100184100178
<tr>
100185100179
<td><dfn data-x="parse-error-duplicate-attribute">duplicate-attribute</dfn>
100186100180
<td><p>This error occurs if the parser encounters an <span
100187100181
data-x="syntax-attributes">attribute</span> in a tag that already has an attribute with the
100188100182
same name. The parser ignores all such duplicate occurrences of the attribute.
100189100183

100184+
<tr>
100185+
<td><dfn data-x="parse-error-end-tag-with-attributes">end-tag-with-attributes</dfn>
100186+
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
100187+
tag</span> with <span data-x="syntax-attributes">attributes</span>. Attributes in end tags are
100188+
completely ignored and do not make their way into the DOM.</p>
100189+
100190100190
<tr>
100191100191
<td><dfn data-x="parse-error-end-tag-with-trailing-solidus">end-tag-with-trailing-solidus</dfn>
100192100192
<td><p>This error occurs if the parser encounters an <span data-x="syntax-end-tag">end
@@ -100300,6 +100300,15 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100300100300
<span data-x="syntax-attributes">attribute</span> value is expected (e.g., <code
100301100301
data-x="">&lt;div id=></code>). The parser treats the attribute as having an empty value.</p>
100302100302

100303+
<tr>
100304+
<td><dfn data-x="parse-error-missing-doctype">missing-doctype</dfn>
100305+
<td>
100306+
<p>This error occurs if the parser encounters any content other than <span
100307+
data-x="syntax-comments">comments</span> or <span>ASCII whitespace</span> before <span
100308+
data-x="syntax-doctype">DOCTYPE</span> at the beginning of the document, i.e. DOCTYPE is not
100309+
a document preamble. In this case the parser sets the <code>Document</code> to <span>quirks
100310+
mode</span>.</p>
100311+
100303100312
<tr>
100304100313
<td><dfn data-x="parse-error-missing-doctype-name">missing-doctype-name</dfn>
100305100314
<td><p>This error occurs if the parser encounters a <span
@@ -100402,18 +100411,6 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100402100411
--></code>). Such a comment will be closed by the first occuring "<code data-x="">--></code>"
100403100412
<span>code point</span> sequence and everything that follows will be treated as markup.</p>
100404100413

100405-
<tr>
100406-
<td><dfn data-x="parse-error-noncharacter-character-reference">noncharacter-character-reference</dfn>
100407-
<td><p>This error occurs if the parser encounters a numeric <span
100408-
data-x="syntax-charref">character reference</span> that references a <span>noncharacter</span>.
100409-
The parser resolves such character references as-is.</p>
100410-
100411-
<tr>
100412-
<td><dfn data-x="parse-error-noncharacter-in-input-stream">noncharacter-in-input-stream</dfn>
100413-
<td><p>This error occurs if the <span>input stream</span> contains a <span>noncharacter</span>.
100414-
Such <span data-x="code point">code points</span> are parsed as-is and usually, where parsing
100415-
rules don't apply any additional restrictions, make their way into the DOM.</p>
100416-
100417100414
<tr>
100418100415
<td><dfn data-x="parse-error-non-conforming-doctype">non-conforming-doctype</dfn>
100419100416
<td><p>This error occurs if the parser encounters the <span
@@ -100446,6 +100443,18 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100446100443
content to specify self-closing tags. (Self-closing tags don't exist in HTML.) It is also
100447100444
allowed for void elements, but doesn't have any effect in this case.</p>
100448100445

100446+
<tr>
100447+
<td><dfn data-x="parse-error-noncharacter-character-reference">noncharacter-character-reference</dfn>
100448+
<td><p>This error occurs if the parser encounters a numeric <span
100449+
data-x="syntax-charref">character reference</span> that references a <span>noncharacter</span>.
100450+
The parser resolves such character references as-is.</p>
100451+
100452+
<tr>
100453+
<td><dfn data-x="parse-error-noncharacter-in-input-stream">noncharacter-in-input-stream</dfn>
100454+
<td><p>This error occurs if the <span>input stream</span> contains a <span>noncharacter</span>.
100455+
Such <span data-x="code point">code points</span> are parsed as-is and usually, where parsing
100456+
rules don't apply any additional restrictions, make their way into the DOM.</p>
100457+
100449100458
<tr>
100450100459
<td><dfn data-x="parse-error-null-character-reference">null-character-reference</dfn>
100451100460
<td><p>This error occurs if the parser encounters a numeric <span
@@ -100528,15 +100537,6 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
100528100537
data-x="">foo</code>" attribute to "<code data-x="">b'ar'</code>".</p>
100529100538
</div>
100530100539

100531-
<tr>
100532-
<td><dfn data-x="parse-error-missing-doctype">missing-doctype</dfn>
100533-
<td>
100534-
<p>This error occurs if the parser encounters any content other than <span
100535-
data-x="syntax-comments">comments</span> or <span>ASCII whitespace</span> before <span
100536-
data-x="syntax-doctype">DOCTYPE</span> at the beginning of the document, i.e. DOCTYPE is not
100537-
a document preamble. In this case the parser sets the <code>Document</code> to <span>quirks
100538-
mode</span>.</p>
100539-
100540100540
<tr>
100541100541
<td><dfn data-x="parse-error-unexpected-equals-sign-before-attribute-name">unexpected-equals-sign-before-attribute-name</dfn>
100542100542
<td>

0 commit comments

Comments
 (0)