@@ -3717,7 +3717,7 @@ that is a <a>document</a>.
3717
3717
3718
3718
<dl>
3719
3719
<dt> {{Element}}
3720
- <dd> Its {{ Element/tagName}} attribute value .
3720
+ <dd> Its <a for= Element>HTML-uppercased qualified name</a> .
3721
3721
3722
3722
<dt> {{Attr}}
3723
3723
<dd> Its <a for=Attr>qualified name</a> .
@@ -3804,13 +3804,12 @@ The <dfn attribute for=Node>localName</dfn> attribute
3804
3804
must return the local name that is associated with the node, if it has one,
3805
3805
and null otherwise.-->
3806
3806
3807
- The <dfn attribute for=Node>nodeName</dfn> attribute's getter, when invoked, must return
3808
- the first matching statement, switching on the <a>context object</a> :
3807
+ <p> The <dfn attribute for=Node>nodeName</dfn> attribute's getter, when invoked, must return the
3808
+ first matching statement, switching on the <a>context object</a> :
3809
3809
3810
3810
<dl class=switch>
3811
3811
<dt> {{Element}}
3812
- <dd> Its {{Element/tagName}} attribute value.
3813
- <!-- XXX internal concept -->
3812
+ <dd> Its <a for=Element>HTML-uppercased qualified name</a> .
3814
3813
3815
3814
<dt> {{Attr}}
3816
3815
<dd> Its <a for=Attr>qualified name</a> .
@@ -5820,7 +5819,21 @@ execute correctly the first time, it is not executed again by an
5820
5819
<a for=Element>namespace prefix</a> , followed by "<code> :</code> ", followed by its
5821
5820
<a for=Element>local name</a> , otherwise.
5822
5821
5823
- <p class=note> User agents could have this as an internal slot as an optimization.
5822
+ <p> An <a for=/>element</a> 's <dfn for=Element>HTML-uppercased qualified name</dfn> is the return
5823
+ value of these steps:
5824
+
5825
+ <ol>
5826
+ <li><p> Let <var> qualifiedName</var> be <a>context object</a> 's <a for=Element>qualified name</a> .
5827
+
5828
+ <li><p> If the <a>context object</a> is in the <a>HTML namespace</a> and its
5829
+ <a for=Node>node document</a> is an <a>HTML document</a> , then set <var> qualifiedName</var> to
5830
+ <var> qualifiedName</var> in <a>ASCII uppercase</a> .
5831
+
5832
+ <li> Return <var> qualifiedName</var> .
5833
+ </ol>
5834
+
5835
+ <p class=note> User agents could optimize <a for=Element>qualified name</a> and
5836
+ <a for=Element>HTML-uppercased qualified name</a> by storing them in internal slots.
5824
5837
5825
5838
<p> To
5826
5839
<dfn export id=concept-create-element lt="create an element|creating an element">create an element</dfn> ,
@@ -6289,8 +6302,7 @@ A <a>node</a>'s
6289
6302
<a for=Element>local name</a> .
6290
6303
6291
6304
<dt><var> qualifiedName</var> = <var> element</var> . {{Element/tagName}}
6292
- <dd> Returns the <a for=Element>qualified name</a> . (The return value is uppercased in an
6293
- <a>HTML document</a> .)
6305
+ <dd> Returns the <a for=Element>HTML-uppercased qualified name</a> .
6294
6306
</dl>
6295
6307
6296
6308
<p> The <dfn attribute for=Element><code>namespaceURI</code></dfn> attribute's getter must return
@@ -6302,18 +6314,8 @@ the <a>context object</a>'s <a for=Element>namespace</a>.
6302
6314
<p> The <dfn attribute for=Element><code>localName</code></dfn> attribute's getter must return the
6303
6315
<a>context object</a> 's <a for=Element>local name</a> .
6304
6316
6305
- <p> The <dfn attribute for=Element><code>tagName</code></dfn> attribute's getter must run these
6306
- steps:
6307
-
6308
- <ol>
6309
- <li><p> Let <var> qualifiedName</var> be <a>context object</a> 's <a for=Element>qualified name</a> .
6310
-
6311
- <li><p> If the <a>context object</a> is in the <a>HTML namespace</a> and its
6312
- <a for=Node>node document</a> is an <a>HTML document</a> , then set <var> qualifiedName</var> to
6313
- <var> qualifiedName</var> in <a>ASCII uppercase</a> .
6314
-
6315
- <li> Return <var> qualifiedName</var> .
6316
- </ol>
6317
+ <p> The <dfn attribute for=Element><code>tagName</code></dfn> attribute's getter must return the
6318
+ <a>context object</a> 's <a for=Element>HTML-uppercased qualified name</a> .
6317
6319
6318
6320
<hr>
6319
6321
0 commit comments