Skip to content

Commit c12e4e2

Browse files
committed
Editorial: stop using identical to in the HTML parser
Closes #3298.
1 parent 884dfc4 commit c12e4e2

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

source

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107298,10 +107298,9 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
107298107298

107299107299
<h5><dfn>Named character reference state</dfn></h5>
107300107300

107301-
<p>Consume the maximum number of characters possible, where the consumed characters are
107302-
<span>identical to</span> one of the identifiers in the first column of the <span>named character
107303-
references</span> table. Append each character to the <var data-x="temporary
107304-
buffer">temporary buffer</var> when it's consumed.</p>
107301+
<p>Consume the maximum number of characters possible, where the consumed characters are one of the
107302+
identifiers in the first column of the <span>named character references</span> table. Append each
107303+
character to the <var data-x="temporary buffer">temporary buffer</var> when it's consumed.</p>
107305107304

107306107305
<dl class="switch">
107307107306

@@ -108188,10 +108187,9 @@ document.body.appendChild(text);
108188108187

108189108188
<dt>A DOCTYPE token</dt>
108190108189
<dd>
108191-
<p>If the DOCTYPE token's name is not <span>identical to</span> "<code data-x="">html</code>",
108192-
or the token's public identifier is not missing, or the token's system identifier is neither
108193-
missing nor <span>identical to</span> "<code>about:legacy-compat</code>", then there is a
108194-
<span>parse error</span>.</p>
108190+
<p>If the DOCTYPE token's name is not "<code data-x="">html</code>", or the token's public
108191+
identifier is not missing, or the token's system identifier is neither missing nor
108192+
"<code>about:legacy-compat</code>", then there is a <span>parse error</span>.</p>
108195108193

108196108194
<p>Append a <code>DocumentType</code> node to the <code>Document</code> node, with the <code
108197108195
data-x="">name</code> attribute set to the name given in the DOCTYPE token, or the empty string
@@ -108211,7 +108209,7 @@ document.body.appendChild(text);
108211108209

108212108210
<ul class="brief">
108213108211
<li> The <i data-x="force-quirks flag">force-quirks flag</i> is set to <i>on</i>. </li>
108214-
<li> The name is set to anything other than "<code data-x="">html</code>" (compared <span data-x="identical to">identically</span>). </li>
108212+
<li> The name is not "<code data-x="">html</code>". </li>
108215108213
<li> The public identifier is set to: "<code data-x="">-//W3O//DTD W3 HTML Strict 3.0//EN//</code>" </li>
108216108214
<li> The public identifier is set to: "<code data-x="">-/W3C/DTD HTML 4.0 Transitional/EN</code>" </li>
108217108215
<li> The public identifier is set to: "<code data-x="">HTML</code>" </li>
@@ -123672,6 +123670,7 @@ INSERT INTERFACES HERE
123672123670
Daniel Trebbien,
123673123671
Danny Sullivan,
123674123672
Daphne Preston-Kendal,
123673+
Darien Maillet Valentine,
123675123674
Darin Adler,
123676123675
Darin Fisher,
123677123676
Darxus,

0 commit comments

Comments
 (0)