@@ -334,7 +334,7 @@ <h2>Serializing</h2>
334
334
appropriate steps, depending on < var > node</ var > 's interface:</ p >
335
335
336
336
< dl class =switch >
337
- < dt > < code > < a title ="element " data-spec ="DOM4 " class ="externalDFN "> Element</ a > </ code >
337
+ < dt > < code > < a title ="interface- element " data-spec ="DOM4 " class ="externalDFN "> Element</ a > </ code >
338
338
< dd >
339
339
< p > Run the following algorithm:
340
340
< ol >
@@ -540,7 +540,7 @@ <h2>Serializing</h2>
540
540
< li > Return the value of < var > markup</ var > .
541
541
</ ol >
542
542
543
- < dt > < code > < a title ="document " data-spec ="DOM4 " class ="externalDFN "> Document</ a > </ code >
543
+ < dt > < code > < a title ="interface- document " data-spec ="DOM4 " class ="externalDFN "> Document</ a > </ code >
544
544
< dd >
545
545
< p > If the < a title ="concept-well-formed "> require well-formed</ a > flag is set (its value is
546
546
< code > true</ code > ), and this < var > node</ var > has no
@@ -570,7 +570,7 @@ <h2>Serializing</h2>
570
570
< li > Return the value of < var > serialized document</ var > .
571
571
</ ol >
572
572
573
- < dt > < code > < a title ="comment " data-spec ="DOM4 " class ="externalDFN "> Comment</ a > </ code >
573
+ < dt > < code > < a title ="interface- comment " data-spec ="DOM4 " class ="externalDFN "> Comment</ a > </ code >
574
574
< dd >
575
575
< p > If the < a title ="concept-well-formed "> require well-formed</ a > flag is set (its value is
576
576
< code > true</ code > ), and < var > node</ var > 's
@@ -600,7 +600,7 @@ <h2>Serializing</h2>
600
600
<a title="xml-document" data-spec="DOM4" class="externalDFN">XML document</a>.
601
601
-->
602
602
603
- < dt > < code > < a title ="text " data-spec ="DOM4 " class ="externalDFN "> Text</ a > </ code >
603
+ < dt > < code > < a title ="interface- text " data-spec ="DOM4 " class ="externalDFN "> Text</ a > </ code >
604
604
< dd > < ol >
605
605
< li > If the < a title ="concept-well-formed "> require well-formed</ a > flag is set (its value is
606
606
< code > true</ code > ), and < var > node</ var > 's
@@ -624,7 +624,7 @@ <h2>Serializing</h2>
624
624
625
625
< li > Return < var > data</ var > .
626
626
</ ol >
627
- < dt > < code > < a title ="documentfragment " data-spec ="DOM4 " class ="externalDFN "> DocumentFragment</ a > </ code >
627
+ < dt > < code > < a title ="interface- documentfragment " data-spec ="DOM4 " class ="externalDFN "> DocumentFragment</ a > </ code >
628
628
< dd > < ol >
629
629
< li > Let < var > markup</ var > the empty string.
630
630
@@ -639,12 +639,13 @@ <h2>Serializing</h2>
639
639
to < var > markup</ var > .
640
640
< li > Return < var > markup</ var > .
641
641
</ ol >
642
- < dt > < code > < a title ="documenttype " data-spec ="DOM4 " class ="externalDFN "> DocumentType</ a > </ code >
642
+
643
+ < dt > < code > < a title ="interface-documenttype " data-spec ="DOM4 " class ="externalDFN "> DocumentType</ a > </ code >
643
644
< dd > Run the steps to < a title ="concept-serialize-doctype "> produce a DocumentType
644
645
serialization</ a > of < var > node</ var > given the < a title ="concept-well-formed "> require well-formed</ a >
645
646
flag, and return the string this produced.
646
647
647
- < dt > < code > < a title ="processinginstruction " data-spec ="DOM4 " class ="externalDFN "> ProcessingInstruction</ a > </ code >
648
+ < dt > < code > < a title ="interface- processinginstruction " data-spec ="DOM4 " class ="externalDFN "> ProcessingInstruction</ a > </ code >
648
649
< dd > < ol >
649
650
< li > If the < a title ="concept-well-formed "> require well-formed</ a > flag is set (its value is
650
651
< code > true</ code > ), and < var > node</ var > 's
@@ -676,6 +677,13 @@ <h2>Serializing</h2>
676
677
</ ol >
677
678
< li > Return < var > markup</ var > .
678
679
</ ol >
680
+
681
+ < dt > < code > < a title ="interface-attr " data-spec ="DOM4 " class ="externalDFN "> Attr</ a > </ code >
682
+ < dd >
683
+ < p > Return the empty string.
684
+ < p class ="note "> Attr objects do not make sense to serialize independently of the
685
+ < a title ="element " data-spec ="DOM4 " class ="externalDFN "> element</ a > to which
686
+ they belong.
679
687
</ dl >
680
688
681
689
< p > To < dfn title ="concept-serialize-doctype "> produce a DocumentType serialization</ dfn > of a
0 commit comments