3
3
< head >
4
4
< meta charset =UTF-8 >
5
5
< title > DOM Parsing and Serialization</ title >
6
- < style >
7
- /* Make these stand-out more... */
8
- .externalDFN {
9
- font-style : italic;
10
- background-color : # fff9d6 ;
11
- }
12
- /* Switch statement */
13
- dl .switch dt ::before {
14
- content : "↪ " ;
15
- margin-left : 1em ;
16
- }
17
- /* Better spacing around various lists (implied paragraph children) */
18
- ol > li , section : not (# toc ) ul > li , section dl > dt {
19
- margin : 1em 0 ;
6
+ < style >
7
+ /* Make these stand-out more... */
8
+ .externalDFN {
9
+ font-style : italic;
10
+ background-color : # fff9d6 ;
11
+ }
12
+ /* Switch statement */
13
+ dl .switch dt ::before {
14
+ content : "↪ " ;
15
+ margin-left : 1em ;
16
+ }
17
+ /* Better spacing around various lists (implied paragraph children) */
18
+ ol > li , section : not (# toc ) ul > li , section dl > dt {
19
+ margin : 1em 0 ;
20
+ }
21
+ var { color : maroon; }
22
+ /* domintro styling */
23
+ dl .domintro {
24
+ background-color : rgb (221 , 255 , 221 );
25
+ padding : 1em 0.5em 1em 2em ;
26
+ clear : both;
27
+ }
28
+ dl .domintro dt {
29
+ color : black;
30
+ }
31
+ dl .domintro > dd {
32
+ color : green;
33
+ }
34
+ dl .domintro ::before {
35
+ float : right;
36
+ background-color : white;
37
+ display : block;
38
+ border : 2px solid black;
39
+ color : green;
40
+ margin-top : -20px ;
41
+ padding : 2px ;
42
+ content : "This box is non-normative. Implementation requirements are given below this box." ;
43
+ }
44
+ /* Fancy table stuff */
45
+ table {
46
+ border-collapse : collapse;
47
+ }
48
+ thead tr {
49
+ border-bottom : 2px solid black;
50
+ }
51
+ tbody tr : not (: last-child ) {
52
+ border-bottom : 1px solid black;
53
+ }
54
+ td {
55
+ border-left : 1px solid black;
56
+ padding : 4px ;
57
+ }
58
+ /* Extra IDL :-) */
59
+ .extraidl {
60
+ line-height : 120% ;
61
+ padding : 1em ;
62
+ border-top : 1px solid # 90b8de ;
63
+ border-bottom : 1px solid # 90b8de ;
64
+ }
65
+ .extraidl : before {
66
+ width : 150px ;
67
+ color : # fff ;
68
+ padding : 3px ;
69
+ font-weight : bold;
70
+ font-family : initial;
71
+ margin : -1em 0 1em -1em ;
72
+ display : block;
73
+ content : "WebIDL" ;
74
+ background-color : rgb (144 , 184 , 222 );
20
75
}
21
- var { color : maroon; }
22
- /* domintro styling */
23
- dl .domintro {
24
- background-color : rgb (221 , 255 , 221 );
25
- padding : 1em 0.5em 1em 2em ;
26
- clear : both;
27
- }
28
- dl .domintro dt {
29
- color : black;
30
- }
31
- dl .domintro > dd {
32
- color : green;
33
- }
34
- dl .domintro ::before {
35
- float : right;
36
- background-color : white;
37
- display : block;
38
- border : 2px solid black;
39
- color : green;
40
- margin-top : -20px ;
41
- padding : 2px ;
42
- content : "This box is non-normative. Implementation requirements are given below this box." ;
43
- }
44
- /* Fancy table stuff */
45
- table {
46
- border-collapse : collapse;
47
- }
48
- thead tr {
49
- border-bottom : 2px solid black;
50
- }
51
- tbody tr : not (: last-child ) {
52
- border-bottom : 1px solid black;
53
- }
54
- td {
55
- border-left : 1px solid black;
56
- padding : 4px ;
57
- }
58
- /* Extra IDL :-) */
59
- .extraidl {
60
- line-height : 120% ;
61
- padding : 1em ;
62
- border-top : 1px solid # 90b8de ;
63
- border-bottom : 1px solid # 90b8de ;
64
- }
65
- .extraidl : before {
66
- width : 150px ;
67
- color : # fff ;
68
- padding : 3px ;
69
- font-weight : bold;
70
- font-family : initial;
71
- margin : -1em 0 1em -1em ;
72
- display : block;
73
- content : "WebIDL" ;
74
- background-color : rgb (144 , 184 , 222 );
75
- }
76
76
</ style >
77
77
< script type ="text/javascript " src ='https://www.w3.org/Tools/respec/respec-w3c-common ' class ='remove ' async > </ script >
78
78
< script type ="text/javascript " src ="respecConfig.js " class ='remove '> </ script >
94
94
95
95
< section id ="crec " class ="introductory ">
96
96
< h2 > Candidate Recommendation Exit Criteria</ h2 >
97
- < p > This specification will not advance to Proposed Recommendation before the spec's
98
- < a href ="http://w3c-test.org/domparsing/ "> test suite</ a > is completed and two or
99
- more independent implementations pass each test, although no single implementation
97
+ < p > This specification will not advance to Proposed Recommendation before the spec's
98
+ < a href ="http://w3c-test.org/domparsing/ "> test suite</ a > is completed and two or
99
+ more independent implementations pass each test, although no single implementation
100
100
must pass each test. We expect to meet this criteria no sooner than 24 October 2014.
101
- The group will also create an
101
+ The group will also create an
102
102
< a href ="https://dvcs.w3.org/hg/innerhtml/raw-file/tip/implementationReport.html "> Implementation Report</ a > .
103
103
</ section >
104
-
104
+
105
105
<!-- <section id="issues" class="introductory">
106
106
<h1>Issues</h1>
107
107
@@ -1023,9 +1023,9 @@ <h1>The <code>DOMParser</code> interface</h1>
1023
1023
< p > The < dfn title ="dom-domparser "> < code > DOMParser()</ code > </ dfn > constructor
1024
1024
must return a new < code > DOMParser</ code > object.
1025
1025
1026
- < dl class ="idl " title ="[Constructor] interface DOMParser ">
1027
- < dt > [NewObject] Document parseFromString(DOMString str, SupportedType type)</ dt >
1028
- < dd >
1026
+ < dl class ="idl " title ="[Constructor] interface DOMParser ">
1027
+ < dt > [CEReactions, NewObject] Document parseFromString(DOMString str, SupportedType type)</ dt >
1028
+ < dd >
1029
1029
< p > The
1030
1030
< dfn title ="dom-domparser-parsefromstring "> < code > parseFromString(< var > str</ var > , < var > type</ var > )</ code > </ dfn >
1031
1031
method must run these steps, depending on < var > type</ var > :
@@ -1111,8 +1111,8 @@ <h1>The <code>DOMParser</code> interface</h1>
1111
1111
< p class =note > The returned
1112
1112
< a title ="concept-document " data-spec ="DOM4 " class ="externalDFN "> document</ a > 's
1113
1113
< a title ="concept-document-encoding " data-spec ="DOM4 " class ="externalDFN "> encoding</ a > is
1114
- the default, UTF-8.
1115
- </ dd >
1114
+ the default, UTF-8.
1115
+ </ dd >
1116
1116
</ dl >
1117
1117
</ section >
1118
1118
@@ -1122,21 +1122,21 @@ <h1>The <code>XMLSerializer</code> interface</h1>
1122
1122
< p > The < dfn title ="dom-xmlserializer "> < code > XMLSerializer()</ code > </ dfn >
1123
1123
constructor must return a new < code > XMLSerializer</ code > object.
1124
1124
1125
- < dl class ="idl " title ="[Constructor] interface XMLSerializer ">
1126
- < dt > DOMString serializeToString(Node root)</ dt >
1127
-
1125
+ < dl class ="idl " title ="[Constructor] interface XMLSerializer ">
1126
+ < dt > DOMString serializeToString(Node root)</ dt >
1127
+
1128
1128
< dd > The < dfn title ="dom-xmlserializer-serializetostring "> < code > serializeToString(< var > root</ var > )</ code > </ dfn >
1129
1129
method must < a title ="concept-serialize-xml "> produce an XML serialization</ a > of < var > root</ var > passing
1130
- a value of < code > false</ code > for the < a title ="concept-well-formed "> require well-formed</ a > parameter, and return the result.</ dd >
1130
+ a value of < code > false</ code > for the < a title ="concept-well-formed "> require well-formed</ a > parameter, and return the result.</ dd >
1131
1131
</ dl >
1132
1132
</ section >
1133
1133
1134
1134
< section >
1135
1135
< h1 > Extensions to the < code > < a title ="element " data-spec ="DOM4 " class ="externalDFN "> Element</ a > </ code > interface</ h1 >
1136
1136
1137
- < dl class ="idl " title ="partial interface Element ">
1138
- < dt > [TreatNullAs=EmptyString] attribute DOMString innerHTML</ dt >
1139
- < dd >
1137
+ < dl class ="idl " title ="partial interface Element ">
1138
+ < dt > [CEReactions, TreatNullAs=EmptyString] attribute DOMString innerHTML</ dt >
1139
+ < dd >
1140
1140
< p > The < dfn title ="dom-element-innerhtml "> < code > innerHTML</ code > </ dfn > IDL
1141
1141
attribute represents the markup of the
1142
1142
< code > < a title ="element " data-spec ="DOM4 " class ="externalDFN "> Element</ a > </ code > 's contents.
@@ -1195,12 +1195,12 @@ <h1>Extensions to the <code><a title="element" data-spec="DOM4" class="externalD
1195
1195
1196
1196
< li > < a data-spec ="DOM4 " title ="concept-node-replace-all " class ="externalDFN "> Replace all</ a >
1197
1197
with < var > fragment</ var > within the < a title ="context object "> context object</ a > .
1198
- </ ol >
1199
- </ dd >
1200
-
1201
- <!-- outerHTML -->
1202
- < dt > [TreatNullAs=EmptyString] attribute DOMString outerHTML</ dt >
1203
- < dd >
1198
+ </ ol >
1199
+ </ dd >
1200
+
1201
+ <!-- outerHTML -->
1202
+ < dt > [CEReactions, TreatNullAs=EmptyString] attribute DOMString outerHTML</ dt >
1203
+ < dd >
1204
1204
< p > The < dfn title ="dom-element-outerhtml "> < code > outerHTML</ code > </ dfn > IDL
1205
1205
attribute represents the markup of the
1206
1206
< code > < a title ="element " data-spec ="DOM4 " class ="externalDFN "> Element</ a > </ code > and its contents.
@@ -1278,12 +1278,12 @@ <h1>Extensions to the <code><a title="element" data-spec="DOM4" class="externalD
1278
1278
the < a title ="context object "> context object</ a > with < var > fragment</ var > within
1279
1279
the < a title ="context object "> context object</ a > 's
1280
1280
< a data-spec ="DOM4 " title ="concept-tree-parent " class ="externalDFN "> parent</ a > .
1281
- </ ol >
1282
- </ dd >
1283
-
1284
- <!-- insertAdjacentHTML -->
1285
- < dt > void insertAdjacentHTML(DOMString position, DOMString text)</ dt >
1286
- < dd >
1281
+ </ ol >
1282
+ </ dd >
1283
+
1284
+ <!-- insertAdjacentHTML -->
1285
+ < dt > [CEReactions] void insertAdjacentHTML(DOMString position, DOMString text)</ dt >
1286
+ < dd >
1287
1287
< dl class =domintro >
1288
1288
< dt > < var > element</ var > . < code title ="dom-element-insertadjacenthtml "> insertAdjacentHTML</ code > (< var > position</ var > , < var > text</ var > )
1289
1289
@@ -1436,9 +1436,9 @@ <h1>Extensions to the <code><a title="element" data-spec="DOM4" class="externalD
1436
1436
before the < a title ="context object "> context object</ a > 's
1437
1437
< a data-spec ="DOM4 " title ="concept-tree-next-sibling " class ="externalDFN "> next sibling</ a > .
1438
1438
</ dl >
1439
- </ ol >
1440
- </ dd >
1441
-
1439
+ </ ol >
1440
+ </ dd >
1441
+
1442
1442
</ dl >
1443
1443
</ section >
1444
1444
@@ -1448,9 +1448,9 @@ <h1>Extensions to the <code><a title="element" data-spec="DOM4" class="externalD
1448
1448
<section>
1449
1449
<h1>Extensions to the <code><a title="text" data-spec="DOM4" class="externalDFN">Text</a></code> interface</h1>
1450
1450
1451
- <dl class="idl" title="partial interface Text">
1452
- <dt>attribute boolean serializeAsCDATA</dt>
1453
- <dd>
1451
+ <dl class="idl" title="partial interface Text">
1452
+ <dt>attribute boolean serializeAsCDATA</dt>
1453
+ <dd>
1454
1454
<dl class=domintro>
1455
1455
<dt><var>text</var> .
1456
1456
<code title="dom-text-serializeascdata">serializeAsCDATA</code> [ = <var>value</var> ]
@@ -1468,18 +1468,18 @@ <h1>Extensions to the <code><a title="text" data-spec="DOM4" class="externalDFN"
1468
1468
<p>Setting the <code title="dom-text-serializeascdata">serializeAsCDATA</code>
1469
1469
attribute must, if the new value is true, set the
1470
1470
<a title="context object">context object</a>'s <a>serialize as CDATA flag</a>, or unset
1471
- it otherwise.
1472
- </dd>
1471
+ it otherwise.
1472
+ </dd>
1473
1473
</dl>
1474
1474
</section>
1475
1475
-->
1476
1476
1477
1477
< section >
1478
1478
< h1 > Extensions to the < code > < a data-spec ="DOM4 " title ="range " class ="externalDFN "> Range</ a > </ code > interface</ h1 >
1479
1479
1480
- < dl class ="idl " title ="partial interface Range ">
1481
- < dt > [NewObject] DocumentFragment createContextualFragment(DOMString fragment)</ dt >
1482
- < dd >
1480
+ < dl class ="idl " title ="partial interface Range ">
1481
+ < dt > [CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment)</ dt >
1482
+ < dd >
1483
1483
< dl class =domintro >
1484
1484
< dt > < var > docFragment</ var > = < var > range</ var > . < code title ="dom-range-createcontextualfragment "> createContextualFragment</ code > (< var > markupString</ var > )
1485
1485
< dd > Returns a < code > < a title ="documentfragment " data-spec ="DOM4 " class ="externalDFN "> DocumentFragment</ a > </ code > , created
@@ -1554,18 +1554,18 @@ <h1>Extensions to the <code><a data-spec="DOM4" title="range" class="externalDFN
1554
1554
1555
1555
< li > Return the value of < var > fragment node</ var > .
1556
1556
</ ol >
1557
- </ dd >
1557
+ </ dd >
1558
1558
</ dl >
1559
1559
</ section >
1560
1560
1561
1561
< section class ="appendix ">
1562
1562
< h1 > Revision History</ h1 >
1563
- < p > The following is an informative summary of the changes since the last publication of this
1564
- specification. A complete revision history of the Editor's Drafts of this specification
1563
+ < p > The following is an informative summary of the changes since the last publication of this
1564
+ specification. A complete revision history of the Editor's Drafts of this specification
1565
1565
can be found < a href ="https://dvcs.w3.org/hg/innerhtml/summary/ "> here</ a > .</ p >
1566
-
1566
+
1567
1567
< ul >
1568
- < li > < a href ="https://dvcs.w3.org/hg/innerhtml/raw-file/tip/LC2_comments.html "> Incorporated
1568
+ < li > < a href ="https://dvcs.w3.org/hg/innerhtml/raw-file/tip/LC2_comments.html "> Incorporated
1569
1569
non-normative changes from previous Last Call document.</ a >
1570
1570
</ ul >
1571
1571
</ section >
@@ -1613,4 +1613,4 @@ <h1>Acknowledgements</h1>
1613
1613
} catch ( ex ) { alert ( ex ) ; }
1614
1614
</ script >
1615
1615
</ body >
1616
- </ html >
1616
+ </ html >
0 commit comments