@@ -4560,11 +4560,10 @@ dom-Range-extractContents, dom-Range-cloneContents -->
4560
4560
<li><p> Let <var> copy</var> be the result of <a>creating an element</a> , given
4561
4561
<var> document</var> , <var> node</var> 's <a for=Element>local name</a>, <var>node</var>' s
4562
4562
<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> .
4565
4564
4566
4565
<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
4568
4567
<a for=Element>attribute list</a> :
4569
4568
4570
4569
<ol>
@@ -5460,8 +5459,7 @@ method steps are:
5460
5459
"<code> application/xhtml+xml</code> "; otherwise null.
5461
5460
5462
5461
<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.
5465
5463
</ol>
5466
5464
5467
5465
<p> The <dfn noexport>internal <code>createElementNS</code> steps</dfn> , given <var> document</var> ,
@@ -5478,8 +5476,7 @@ method steps are:
5478
5476
to it.
5479
5477
5480
5478
<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.
5483
5480
</ol>
5484
5481
5485
5482
<p> The
@@ -5907,26 +5904,26 @@ method steps are:
5907
5904
<a for=DocumentType>name</a> and with its <a for=Node>node document</a> set to <var> doc</var> , to
5908
5905
<var> doc</var> .
5909
5906
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> .
5912
5909
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.
5915
5912
5916
5913
<li>
5917
5914
<p> If <var> title</var> is given:
5918
5915
5919
5916
<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.
5922
5919
5923
5920
<li><p> <a>Append</a> a new {{Text}} <a for=/>node</a> , with its <a for=CharacterData>data</a> set
5924
5921
to <var> title</var> (which could be the empty string) and its <a for=Node>node document</a> set
5925
5922
to <var> doc</var> , to the <{title}> element created earlier.
5926
5923
</ol>
5927
5924
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>
5930
5927
5931
5928
<li><p><var> doc</var> 's <a for=Document>origin</a> is <a>this</a>' s associated <a>document</a> 's
5932
5929
<a for=Document>origin</a> .
@@ -6305,16 +6302,12 @@ value of these steps:
6305
6302
<p class=note> User agents could optimize <a for=Element>qualified name</a> and
6306
6303
<a for=Element>HTML-uppercased qualified name</a> by storing them in internal slots.
6307
6304
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) :
6312
6309
6313
6310
<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
-
6318
6311
<li><p> Let <var> result</var> be null.
6319
6312
6320
6313
<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
6340
6333
<var> document</var> .
6341
6334
6342
6335
<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:
6345
6338
6346
6339
<ol>
6347
6340
<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
6369
6362
6370
6363
<ol>
6371
6364
<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:
6374
6367
6375
6368
<ol>
6376
6369
<li><p> Let <var> C</var> be <var> definition</var> 's
0 commit comments