@@ -4560,11 +4560,10 @@ dom-Range-extractContents, dom-Range-cloneContents -->
45604560 <li><p> Let <var> copy</var> be the result of <a>creating an element</a> , given
45614561 <var> document</var> , <var> node</var> 's <a for=Element>local name</a>, <var>node</var>' s
45624562 <a for=Element>namespace</a> , <var> node</var> 's <a for=Element>namespace prefix</a> , and
4563- <var> node</var> 's <a><code>is</code> value</a> , with the <var> synchronous custom elements
4564- flag</var> unset.
4563+ <var> node</var> 's <a><code>is</code> value</a> .
45654564
45664565 <li>
4567- <p> <a for=list>For each</a> <var> attribute</var> in <var> node</var> 's
4566+ <p> <a for=list>For each</a> <var> attribute</var> of <var> node</var> 's
45684567 <a for=Element>attribute list</a> :
45694568
45704569 <ol>
@@ -5460,8 +5459,7 @@ method steps are:
54605459 "<code> application/xhtml+xml</code> "; otherwise null.
54615460
54625461 <li><p> Return the result of <a>creating an element</a> given <a>this</a> , <var> localName</var> ,
5463- <var> namespace</var> , null, <var> is</var> , and with the <var> synchronous custom elements</var> flag
5464- set.
5462+ <var> namespace</var> , null, <var> is</var> , and true.
54655463</ol>
54665464
54675465<p> The <dfn noexport>internal <code>createElementNS</code> steps</dfn> , given <var> document</var> ,
@@ -5478,8 +5476,7 @@ method steps are:
54785476 to it.
54795477
54805478 <li><p> Return the result of <a>creating an element</a> given <var> document</var> ,
5481- <var> localName</var> , <var> namespace</var> , <var> prefix</var> , <var> is</var> , and with the
5482- <var> synchronous custom elements</var> flag set.
5479+ <var> localName</var> , <var> namespace</var> , <var> prefix</var> , <var> is</var> , and true.
54835480</ol>
54845481
54855482<p> The
@@ -5907,26 +5904,26 @@ method steps are:
59075904 <a for=DocumentType>name</a> and with its <a for=Node>node document</a> set to <var> doc</var> , to
59085905 <var> doc</var> .
59095906
5910- <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> , <{html}> , and
5911- the <a>HTML namespace</a> , to <var> doc</var> .
5907+ <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> ,
5908+ " <code> html </code> ", and the <a>HTML namespace</a> , to <var> doc</var> .
59125909
5913- <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> , <{head}> , and
5914- the <a>HTML namespace</a> , to the <{html}> element created earlier.
5910+ <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> ,
5911+ " <code> head </code> ", and the <a>HTML namespace</a> , to the <{html}> element created earlier.
59155912
59165913 <li>
59175914 <p> If <var> title</var> is given:
59185915
59195916 <ol>
5920- <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> , <{title}> ,
5921- and the <a>HTML namespace</a> , to the <{head}> element created earlier.
5917+ <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> ,
5918+ " <code> title </code> ", and the <a>HTML namespace</a> , to the <{head}> element created earlier.
59225919
59235920 <li><p> <a>Append</a> a new {{Text}} <a for=/>node</a> , with its <a for=CharacterData>data</a> set
59245921 to <var> title</var> (which could be the empty string) and its <a for=Node>node document</a> set
59255922 to <var> doc</var> , to the <{title}> element created earlier.
59265923 </ol>
59275924
5928- <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> , <{body}> , and
5929- the <a>HTML namespace</a> , to the <{html}> element created earlier.</li>
5925+ <li><p> <a>Append</a> the result of <a>creating an element</a> given <var> doc</var> ,
5926+ " <code> body </code> ", and the <a>HTML namespace</a> , to the <{html}> element created earlier.</li>
59305927
59315928 <li><p><var> doc</var> 's <a for=Document>origin</a> is <a>this</a>' s associated <a>document</a> 's
59325929 <a for=Document>origin</a> .
@@ -6305,16 +6302,12 @@ value of these steps:
63056302<p class=note> User agents could optimize <a for=Element>qualified name</a> and
63066303<a for=Element>HTML-uppercased qualified name</a> by storing them in internal slots.
63076304
6308- <p> To
6309- <dfn export id=concept-create-element lt="create an element|creating an element">create an element</dfn> ,
6310- given a <var> document </var> , <var> localName </var> , <var> namespace </var> , and optional
6311- <var> prefix </var> , <var> is </var> , and <var> synchronous custom elements flag </var> , run these steps :
6305+ <p> To <dfn export id=concept-create-element>create an element</dfn> , given a <a for=/>document</a>
6306+ <var> document </var> , string <var> localName </var> , string-or-null <var> namespace </var> , and
6307+ optionally a string-or-null <var> prefix </var> (default null), string-or-null <var> is </var> (default
6308+ null), and boolean <var> synchronousCustomElements </var> (default false) :
63126309
63136310<ol>
6314- <li><p> If <var> prefix</var> was not given, let <var> prefix</var> be null.
6315-
6316- <li><p> If <var> is</var> was not given, let <var> is</var> be null.
6317-
63186311 <li><p> Let <var> result</var> be null.
63196312
63206313 <li><p> Let <var> definition</var> be the result of
@@ -6340,8 +6333,8 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
63406333 <var> document</var> .
63416334
63426335 <li>
6343- <p> If the <var> synchronous custom elements flag </var> is set , then run this step while
6344- catching any exceptions:
6336+ <p> If <var> synchronousCustomElements </var> is true , then run this step while catching any
6337+ exceptions:
63456338
63466339 <ol>
63476340 <li><p> <a lt="upgrade an element">Upgrade</a> <var> result</var> using <var> definition</var> .
@@ -6369,8 +6362,8 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
63696362
63706363 <ol>
63716364 <li>
6372- <p> If the <var> synchronous custom elements flag </var> is set , then run these steps while
6373- catching any exceptions:
6365+ <p> If <var> synchronousCustomElements </var> is true , then run these steps while catching any
6366+ exceptions:
63746367
63756368 <ol>
63766369 <li><p> Let <var> C</var> be <var> definition</var> 's
0 commit comments