@@ -103008,12 +103008,14 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
103008
103008
DOCTYPE, start tag, end tag, comment, character, end-of-file. DOCTYPE tokens have a name, a public
103009
103009
identifier, a system identifier, and a <dfn><i>force-quirks flag</i></dfn>. When a DOCTYPE token
103010
103010
is created, its name, public identifier, and system identifier must be marked as missing (which is
103011
- a distinct state from the empty string), and the <i data-x="force-quirks flag">force-quirks flag</i> must be set to
103012
- <i>off</i> (its other state is <i>on</i>). Start and end tag tokens have a tag name, a <dfn
103013
- data-x="self-closing flag">self-closing flag</dfn>, and a list of attributes, each of which has a
103014
- name and a value. When a start or end tag token is created, its <i data-x="self-closing
103015
- flag">self-closing flag</i> must be unset (its other state is that it be set), and its attributes
103016
- list must be empty. Comment and character tokens have data.</p>
103011
+ a distinct state from the empty string), and the <i data-x="force-quirks flag">force-quirks flag</i>
103012
+ must be set to <i>off</i> (its other state is <i>on</i>). Start and end tag tokens have a tag name,
103013
+ a <dfn data-x="self-closing flag">self-closing flag</dfn>, a
103014
+ <dfn data-x="duplicate attribute flag">duplicate attribute flag</dfn> and a list of attributes,
103015
+ each of which has a name and a value. When a start or end tag token is created, its
103016
+ <i data-x="self-closing flag">self-closing flag</i> must be unset (its other state is that it be set),
103017
+ its <i data-x="duplicate attribute flag">duplicate attribute flag</i> must be unset (its other state
103018
+ is that it be set), and its attributes list must be empty. Comment and character tokens have data.</p>
103017
103019
103018
103020
<p>When a token is emitted, it must immediately be handled by the <span>tree construction</span>
103019
103021
stage. The tree construction stage can affect the state of the tokenization stage, and can insert
@@ -104003,8 +104005,9 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
104003
104005
<p>When the user agent leaves the attribute name state (and before emitting the tag token, if
104004
104006
appropriate), the complete attribute's name must be compared to the other attributes on the same
104005
104007
token; if there is already an attribute on the token with the exact same name, then this is a
104006
- <span data-x="parse-error-duplicate-attribute">duplicate-attribute</span> <span>parse error</span>
104007
- and the new attribute must be removed from the token.</p>
104008
+ <span data-x="parse-error-duplicate-attribute">duplicate-attribute</span> <span>parse error</span>,
104009
+ the new attribute must be removed from the token and the token's
104010
+ <i data-x="duplicate attribute flag">duplicate attribute flag</i> must be set</p>
104008
104011
104009
104012
<p class="note">If an attribute is so removed from a token, it, and the value that gets associated
104010
104013
with it, if any, are never subsequently used by the parser, and are therefore effectively
@@ -105686,8 +105689,10 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
105686
105689
<li>
105687
105690
<p>Let <var>element</var> be the result of <span data-x="create an element">creating an
105688
105691
element</span> given <var>document</var>, <var>localName</var>, <var>given
105689
- namespace</var>, null, and <var>is</var>. If <var>will execute script</var> is true, set the
105690
- <var>synchronous custom elements flag</var>; otherwise, leave it unset.</p>
105692
+ namespace</var>, null, <var>is</var>, and the
105693
+ <span data-x="duplicate attribute flag">duplicate attribute flag</span> of the token.
105694
+ If <var>will execute script</var> is true, set the
105695
+ <var>synchronous custom elements flag</var>; otherwise, leave it unset.
105691
105696
105692
105697
<p class="note">This will cause <span data-x="custom element constructor">custom element
105693
105698
constructors</span> to run, if <var>will execute script</var> is true. However, since we
0 commit comments