Skip to content

Commit 2cfc613

Browse files
committed
Drop PIs for eof-in-processing-instruction
1 parent fcb3ac0 commit 2cfc613

1 file changed

Lines changed: 9 additions & 20 deletions

File tree

source

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -135024,12 +135024,6 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
135024135024
code point (e.g., <code data-x="">&lt;/div/></code>). Such a tag is treated as a regular end
135025135025
tag.</p>
135026135026

135027-
<tr>
135028-
<td><dfn data-x="parse-error-eof-before-processing-instruction-target">eof-before-processing-instruction-target</dfn>
135029-
<td><p>This error occurs if the parser encounters the end of the <span>input stream</span>
135030-
where a processing instruction target is expected. The parser treats this as a comment with
135031-
the text "<code data-x="">?</code>".</p>
135032-
135033135027
<tr>
135034135028
<td><dfn data-x="parse-error-eof-before-tag-name">eof-before-tag-name</dfn>
135035135029
<td><p>This error occurs if the parser encounters the end of the <span>input stream</span>
@@ -135059,9 +135053,9 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
135059135053
<tr>
135060135054
<td><dfn data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</dfn>
135061135055
<td><p>This error occurs if the parser encounters the end of the <span>input stream</span> in a
135062-
<span data-x="syntax-processing-instruction">processing instruction</span>. The parser treats
135063-
such processing instructions as if they are closed immediately before the end of the input
135064-
stream.</p>
135056+
<span data-x="syntax-processing-instruction">processing instruction</span> (e.g., <code
135057+
data-x="">&lt;?</code> or <code data-x="">&lt;?marker name=</code>). Such processing
135058+
instructions are ignored.</p>
135065135059

135066135060
<tr>
135067135061
<td><dfn data-x="parse-error-eof-in-script-html-comment-like-text">eof-in-script-html-comment-like-text</dfn>
@@ -139275,9 +139269,8 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139275139269
<span>Reconsume</span> in the <span>processing instruction target state</span>.
139276139270

139277139271
<dt>EOF</dt>
139278-
<dd>This is an <span data-x="parse-error-eof-before-processing-instruction-target">eof-before-processing-instruction-target</span>
139279-
<span>parse error</span>. Emit a comment token whose data is "<code data-x="">?</code>". Emit an
139280-
end-of-file token.</dd>
139272+
<dd>This is an <span data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</span>
139273+
<span>parse error</span>. Emit an end-of-file token.</dd>
139281139274

139282139275
<dt>Anything else</dt>
139283139276
<dd>This is an <span data-x="parse-error-invalid-first-character-of-processing-instruction-target">invalid-first-character-of-processing-instruction-target</span>
@@ -139325,8 +139318,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139325139318

139326139319
<dt>EOF</dt>
139327139320
<dd>This is an <span data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</span>
139328-
<span>parse error</span>. Emit the current processing instruction token. Emit an end-of-file
139329-
token.</dd>
139321+
<span>parse error</span>. Emit an end-of-file token.</dd>
139330139322

139331139323
<dt>Anything else</dt>
139332139324
<dd>Append the <span>current input character</span> to the current processing instruction token's
@@ -139358,8 +139350,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139358139350

139359139351
<dt>EOF</dt>
139360139352
<dd>This is an <span data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</span>
139361-
<span>parse error</span>. Emit the current processing instruction token. Emit an end-of-file
139362-
token.</dd>
139353+
<span>parse error</span>. Emit an end-of-file token.</dd>
139363139354

139364139355
<dt>Anything else</dt>
139365139356
<dd><span>Reconsume</span> in the <span>processing instruction data state</span>.</dd>
@@ -139382,8 +139373,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139382139373

139383139374
<dt>EOF</dt>
139384139375
<dd>This is an <span data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</span>
139385-
<span>parse error</span>. Emit the current processing instruction token. Emit an end-of-file
139386-
token.</dd>
139376+
<span>parse error</span>. Emit an end-of-file token.</dd>
139387139377

139388139378
<dt>Anything else</dt>
139389139379
<dd>Append the <span>current input character</span> to the current processing instruction token's data.</dd>
@@ -139403,8 +139393,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139403139393

139404139394
<dt>EOF</dt>
139405139395
<dd>This is an <span data-x="parse-error-eof-in-processing-instruction">eof-in-processing-instruction</span>
139406-
<span>parse error</span>. Emit the current processing instruction token. Emit an end-of-file
139407-
token.</dd>
139396+
<span>parse error</span>. Emit an end-of-file token.</dd>
139408139397

139409139398
<dt>Anything else</dt>
139410139399
<dd>Append U+003F (?) to the current processing instruction token's data. <span>Reconsume</span>

0 commit comments

Comments
 (0)