WD-DOM-Parsing-20120920.html
author travil
Thu, 05 Jun 2014 15:53:16 -0700
changeset 71 d86d21f30860
parent 6 08a919c1daa2
permissions -rw-r--r--
Update to Editor's draft which prepares the doc for CR:
* Removal of issues section
* Addition of CR exit criteria as agreed: http://lists.w3.org/Archives/Public/public-webapps/2014AprJun/0677.html
* Addition of Revision History: with last LC bugs referenced via pointer to LC-comments doc.
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     1
<!DOCTYPE html>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     2
<html lang="en" dir="ltr">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     3
<head>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     4
    <meta charset="UTF-8">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     5
    <title>DOM Parsing and Serialization</title>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     6
    <style>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     7
        /* Make these stand-out more... */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     8
        .externalDFN {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
     9
            font-style: italic;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    10
            background-color: #fff9d6;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    11
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    12
        /* Switch statement */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    13
        dl.switch dt::before {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    14
            content: "↪ ";
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    15
            margin-left: 1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    16
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    17
        /* Better spacing around various lists (implied paragraph children) */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    18
        ol > li, section:not(#toc) ul > li, section dl > dt {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    19
            margin: 1em 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    20
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    21
        /* domintro styling */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    22
        dl.domintro {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    23
            background-color: rgb(221, 255, 221);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    24
            padding: 1em 0.5em 1em 2em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    25
            clear: both;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    26
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    27
        dl.domintro dt {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    28
            color: black;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    29
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    30
        dl.domintro > dd {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    31
            color: green;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    32
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    33
        dl.domintro::before {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    34
            float: right;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    35
            background-color: white;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    36
            display: block;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    37
            border: 2px solid black;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    38
            color: green;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    39
            margin-top: -20px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    40
            padding: 2px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    41
            content: "This box is non-normative. Implementation requirements are given below this box.";
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    42
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    43
        /* Fancy table stuff */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    44
        table {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    45
            border-collapse: collapse;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    46
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    47
        thead tr {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    48
            border-bottom: 2px solid black;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    49
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    50
        tbody tr:not(:last-child) {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    51
            border-bottom: 1px solid black;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    52
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    53
        td {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    54
            border-left: 1px solid black;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    55
            padding: 4px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    56
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    57
        /* Extra IDL :-) */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    58
        .extraidl {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    59
            line-height: 120%;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    60
            padding: 1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    61
            border-top: 1px solid #90b8de;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    62
            border-bottom: 1px solid #90b8de;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    63
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    64
        .extraidl:before {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    65
            width: 150px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    66
            color: #fff;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    67
            padding: 3px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    68
            font-weight: bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    69
            font-family: initial;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    70
            margin: -1em 0 1em -1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    71
            display: block;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    72
            content: "WebIDL";
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    73
            background-color: rgb(144, 184, 222);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    74
        }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    75
    </style>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    76
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    77
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    78
<style>/*****************************************************************
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    79
 * ReSpec 3 CSS
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    80
 * Robin Berjon - http://berjon.com/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    81
 *****************************************************************/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    82
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    83
/* --- INLINES --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    84
em.rfc2119 { 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    85
    text-transform:     lowercase;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    86
    font-variant:       small-caps;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    87
    font-style:         normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    88
    color:              #900;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    89
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    90
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    91
h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    92
h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    93
    border: none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    94
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    95
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    96
dfn {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    97
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    98
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
    99
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   100
a.internalDFN {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   101
    color:  inherit;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   102
    border-bottom:  1px solid #99c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   103
    text-decoration:    none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   104
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   105
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   106
a.externalDFN {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   107
    color:  inherit;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   108
    border-bottom:  1px dotted #ccc;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   109
    text-decoration:    none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   110
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   111
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   112
a.bibref {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   113
    text-decoration:    none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   114
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   115
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   116
cite .bibref {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   117
    font-style: normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   118
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   119
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   120
code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   121
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   122
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   123
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   124
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   125
/* --- --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   126
ol.algorithm { counter-reset:numsection; list-style-type: none; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   127
ol.algorithm li { margin: 0.5em 0; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   128
ol.algorithm li:before { font-weight: bold; counter-increment: numsection; content: counters(numsection, ".") ") "; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   129
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   130
/* --- TOC --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   131
.toc a, .tof a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   132
    text-decoration:    none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   133
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   134
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   135
a .secno, a .figno {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   136
    color:  #000;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   137
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   138
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   139
ul.tof, ol.tof {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   140
    list-style: none outside none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   141
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   142
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   143
.caption {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   144
    margin-top: 0.5em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   145
    font-style:   italic;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   146
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   147
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   148
/* --- TABLE --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   149
table.simple {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   150
    border-spacing: 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   151
    border-collapse:    collapse;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   152
    border-bottom:  3px solid #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   153
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   154
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   155
.simple th {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   156
    background: #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   157
    color:  #fff;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   158
    padding:    3px 5px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   159
    text-align: left;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   160
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   161
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   162
.simple th[scope="row"] {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   163
    background: inherit;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   164
    color:  inherit;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   165
    border-top: 1px solid #ddd;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   166
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   167
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   168
.simple td {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   169
    padding:    3px 10px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   170
    border-top: 1px solid #ddd;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   171
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   172
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   173
.simple tr:nth-child(even) {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   174
    background: #f0f6ff;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   175
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   176
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   177
/* --- DL --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   178
.section dd > p:first-child {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   179
    margin-top: 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   180
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   181
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   182
.section dd > p:last-child {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   183
    margin-bottom: 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   184
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   185
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   186
.section dd {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   187
    margin-bottom:  1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   188
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   189
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   190
.section dl.attrs dd, .section dl.eldef dd {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   191
    margin-bottom:  0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   192
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   193
</style><style>/* --- ISSUES/NOTES --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   194
div.issue-title, div.note-title {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   195
    padding-right:  1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   196
    min-width: 7.5em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   197
    color: #b9ab2d;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   198
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   199
div.issue-title { color: #e05252; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   200
div.note-title { color: #52e052; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   201
div.issue-title span, div.note-title span {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   202
    text-transform: uppercase;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   203
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   204
div.note, div.issue {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   205
    margin-top: 1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   206
    margin-bottom: 1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   207
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   208
.note > p:first-child, .issue > p:first-child { margin-top: 0 }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   209
.issue, .note {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   210
    padding: .5em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   211
    border-left-width: .5em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   212
    border-left-style: solid;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   213
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   214
div.issue, div.note {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   215
    padding: 0.5em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   216
    margin: 1em 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   217
    position: relative;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   218
    clear: both;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   219
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   220
span.note, span.issue { padding: .1em .5em .15em; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   221
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   222
.issue {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   223
    border-color: #e05252;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   224
    background: #fbe9e9;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   225
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   226
.note {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   227
    border-color: #52e052;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   228
    background: #e9fbe9;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   229
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   230
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   231
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   232
</style><style>/* --- WEB IDL --- */
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   233
pre.idl {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   234
    border-top: 1px solid #90b8de;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   235
    border-bottom: 1px solid #90b8de;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   236
    padding:    1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   237
    line-height:    120%;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   238
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   239
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   240
pre.idl::before {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   241
    content:    "WebIDL";
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   242
    display:    block;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   243
    width:      150px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   244
    background: #90b8de;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   245
    color:  #fff;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   246
    font-family:    initial;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   247
    padding:    3px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   248
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   249
    margin: -1em 0 1em -1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   250
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   251
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   252
.idlType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   253
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   254
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   255
    text-decoration:    none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   256
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   257
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   258
/*.idlModule*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   259
/*.idlModuleID*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   260
/*.idlInterface*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   261
.idlInterfaceID, .idlDictionaryID, .idlCallbackID, .idlEnumID {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   262
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   263
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   264
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   265
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   266
.idlSuperclass {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   267
    font-style: italic;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   268
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   269
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   270
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   271
/*.idlAttribute*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   272
.idlAttrType, .idlFieldType, .idlMemberType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   273
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   274
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   275
.idlAttrName, .idlFieldName, .idlMemberName {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   276
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   277
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   278
.idlAttrName a, .idlFieldName a, .idlMemberName a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   279
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   280
    border-bottom:  1px dotted #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   281
    text-decoration: none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   282
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   283
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   284
/*.idlMethod*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   285
.idlMethType, .idlCallbackType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   286
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   287
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   288
.idlMethName {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   289
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   290
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   291
.idlMethName a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   292
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   293
    border-bottom:  1px dotted #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   294
    text-decoration: none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   295
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   296
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   297
/*.idlParam*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   298
.idlParamType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   299
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   300
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   301
.idlParamName {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   302
    font-style: italic;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   303
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   304
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   305
.extAttr {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   306
    color:  #666;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   307
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   308
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   309
/*.idlConst*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   310
.idlConstType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   311
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   312
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   313
.idlConstName {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   314
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   315
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   316
.idlConstName a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   317
    color:  #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   318
    border-bottom:  1px dotted #ff4500;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   319
    text-decoration: none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   320
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   321
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   322
/*.idlException*/
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   323
.idlExceptionID {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   324
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   325
    color:  #c00;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   326
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   327
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   328
.idlTypedefID, .idlTypedefType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   329
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   330
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   331
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   332
.idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   333
    color:  #c00;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   334
    font-weight:    normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   335
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   336
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   337
.excName a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   338
    font-family:    monospace;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   339
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   340
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   341
.idlRaises a.idlType, .excName a.idlType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   342
    border-bottom:  1px dotted #c00;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   343
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   344
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   345
.excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   346
    width:  45px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   347
    text-align: center;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   348
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   349
.excGetSetTrue, .prmNullTrue, .prmOptTrue { color:  #0c0; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   350
.excGetSetFalse, .prmNullFalse, .prmOptFalse { color:  #c00; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   351
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   352
.idlImplements a {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   353
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   354
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   355
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   356
dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   357
    margin-left:    2em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   358
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   359
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   360
.attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   361
    font-weight:    normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   362
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   363
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   364
.attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   365
    font-weight:    bold;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   366
    color:  #000;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   367
    font-family:    monospace;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   368
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   369
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   370
.attributes dt code, .fields dt code, .dictionary-members dt code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   371
    background:  #ffffd2;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   372
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   373
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   374
.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   375
    color:  #005a9c;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   376
    background:  transparent;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   377
    font-family:    inherit;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   378
    font-weight:    normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   379
    font-style: italic;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   380
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   381
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   382
.methods dt code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   383
    background:  #d9e6f8;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   384
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   385
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   386
.constants dt code {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   387
    background:  #ddffd2;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   388
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   389
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   390
.attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   391
    margin-bottom:  1em;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   392
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   393
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   394
table.parameters, table.exceptions {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   395
    border-spacing: 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   396
    border-collapse:    collapse;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   397
    margin: 0.5em 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   398
    width:  100%;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   399
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   400
table.parameters { border-bottom:  1px solid #90b8de; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   401
table.exceptions { border-bottom:  1px solid #deb890; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   402
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   403
.parameters th, .exceptions th {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   404
    color:  #fff;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   405
    padding:    3px 5px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   406
    text-align: left;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   407
    font-family:    initial;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   408
    font-weight:    normal;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   409
    text-shadow:    #666 1px 1px 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   410
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   411
.parameters th { background: #90b8de; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   412
.exceptions th { background: #deb890; }
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   413
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   414
.parameters td, .exceptions td {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   415
    padding:    3px 10px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   416
    border-top: 1px solid #ddd;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   417
    vertical-align: top;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   418
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   419
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   420
.parameters tr:first-child td, .exceptions tr:first-child td {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   421
    border-top: none;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   422
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   423
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   424
.parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   425
    width:  100px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   426
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   427
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   428
.parameters td.prmType {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   429
    width:  120px;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   430
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   431
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   432
table.exceptions table {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   433
    border-spacing: 0;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   434
    border-collapse:    collapse;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   435
    width:  100%;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   436
}
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   437
</style><link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet"><!--[if lt IE 9]><script src='undefined://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   438
<body><div class="head">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   439
  <p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   440
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   441
      <a href="http://www.w3.org/"><img width="72" height="48" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   442
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   443
  </p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   444
  <h1 class="title" id="title">DOM Parsing and Serialization</h1>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   445
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   446
  <h2 id="w3c-working-draft-20-september-2012"><abbr title="World Wide Web Consortium">W3C</abbr> Working Draft 20 September 2012</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   447
  <dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   448
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   449
      <dt>This version:</dt>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   450
      <dd><a href="http://www.w3.org/TR/2012/WD-DOM-Parsing-20120920/">http://www.w3.org/TR/2012/WD-DOM-Parsing-20120920/</a></dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   451
      <dt>Latest published version:</dt>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   452
      <dd><a href="http://www.w3.org/TR/DOM-Parsing/">http://www.w3.org/TR/DOM-Parsing/</a></dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   453
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   454
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   455
      <dt>Latest editor's draft:</dt>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   456
      <dd><a href="http://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html">http://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html</a></dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   457
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   458
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   459
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   460
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   461
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   462
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   463
    <dt>Editors:</dt>
4
35c92f571f53 Fix an additional URL encoding issue
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 3
diff changeset
   464
    <dd><a href="mailto:travis.leithead@microsoft.com?subject=%5BDOMParsing%5D%20Spec%20Feedback">Travis Leithead</a>, <a href="http://www.microsoft.com">Microsoft Corp.</a></dd>
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   465
<dd><a href="mailto:ms2ger@gmail.com">Ms2ger</a></dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   466
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   467
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   468
  </dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   469
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   470
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   471
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   472
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   473
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   474
      <p class="copyright">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   475
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   476
        2012
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   477
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   478
        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   479
        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   480
        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   481
        <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   482
        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   483
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   484
        <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   485
      </p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   486
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   487
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   488
  <hr>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   489
</div>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   490
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   491
    <section class="introductory" id="abstract"><h2>Abstract</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   492
       <p>This specification defines various APIs for programmatic access to 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   493
          HTML and generic XML parsers by web applications for use in parsing 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   494
          and serializing DOM nodes</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   495
    </section><section class="introductory" id="sotd"><h2>Status of This Document</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   496
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   497
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   498
      
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   499
        <p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   500
          <em>This section describes the status of this document at the time of its publication. Other
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   501
          documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   502
          of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   503
          index</a> at http://www.w3.org/TR/.</em>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   504
        </p>
5
610bf57304a3 Adding a note about submitting comments with subject line prefixed to [DOM-Parsing]
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 4
diff changeset
   505
610bf57304a3 Adding a note about submitting comments with subject line prefixed to [DOM-Parsing]
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 4
diff changeset
   506
		<p>
610bf57304a3 Adding a note about submitting comments with subject line prefixed to [DOM-Parsing]
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 4
diff changeset
   507
		  Comments submitted in regard to this document should have their subject line prefixed with the string <q>[DOM-Parsing]</q> to help facilitate tracking on the 
6
08a919c1daa2 Update mailing list links from public-webapps -> www-dom
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 5
diff changeset
   508
		  <a href="http://lists.w3.org/Archives/Public/www-dom/">www-dom mailing list</a>.
5
610bf57304a3 Adding a note about submitting comments with subject line prefixed to [DOM-Parsing]
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 4
diff changeset
   509
		</p>        
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   510
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   511
        <p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   512
          This document was published by the <a href="http://www.w3.org/2008/webapps/">Web Applications Working Group</a> as a First Public Working Draft.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   513
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   514
            This document is intended to become a <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   515
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   516
          If you wish to make comments regarding this document, please send them to 
6
08a919c1daa2 Update mailing list links from public-webapps -> www-dom
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 5
diff changeset
   517
          <a href="mailto:www-dom@w3.org">www-dom@w3.org</a> 
08a919c1daa2 Update mailing list links from public-webapps -> www-dom
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 5
diff changeset
   518
          (<a href="mailto:www-dom-request@w3.org?subject=subscribe">subscribe</a>,
08a919c1daa2 Update mailing list links from public-webapps -> www-dom
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 5
diff changeset
   519
          <a href="http://lists.w3.org/Archives/Public/www-dom/">archives</a>).
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   520
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   521
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   522
          All feedback is welcome.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   523
        </p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   524
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   525
          <p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   526
            Publication as a Working Draft does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr> Membership.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   527
            This is a draft document and may be updated, replaced or obsoleted by other documents at 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   528
            any time. It is inappropriate to cite this document as other than work in progress.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   529
          </p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   530
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   531
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   532
        <p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   533
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   534
            This document was produced by a group operating under the 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   535
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   536
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   537
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   538
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   539
            
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   540
              <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of any patent disclosures</a> 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   541
            
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   542
            made in connection with the deliverables of the group; that page also includes instructions for 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   543
            disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   544
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   545
            information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   546
            6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   547
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   548
          
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   549
        </p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   550
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   551
      
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   552
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   553
  
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   554
</section><section id="toc"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a class="tocxref" href="#conformance"><span class="secno">1. </span>Conformance</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#dependencies"><span class="secno">1.1 </span>Dependencies</a></li><li class="tocline"><a class="tocxref" href="#extensibility"><span class="secno">1.2 </span>Extensibility</a></li></ul></li><li class="tocline"><a class="tocxref" href="#terminology"><span class="secno">2. </span>Terminology</a></li><li class="tocline"><a class="tocxref" href="#parsing-and-serializing-nodes"><span class="secno">3. </span>Parsing and serializing <span title="node" class="formerLink" data-spec="DOM4">Node</span>s</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#parsing"><span class="secno">3.1 </span>Parsing</a></li><li class="tocline"><a class="tocxref" href="#serializing"><span class="secno">3.2 </span>Serializing</a></li></ul></li><li class="tocline"><a class="tocxref" href="#the-domparser-interface"><span class="secno">4. </span>The <code>DOMParser</code> interface</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#methods"><span class="secno">4.1 </span>Methods</a></li></ul></li><li class="tocline"><a class="tocxref" href="#the-xmlserializer-interface"><span class="secno">5. </span>The <code>XMLSerializer</code> interface</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#methods-1"><span class="secno">5.1 </span>Methods</a></li></ul></li><li class="tocline"><a class="tocxref" href="#extensions-to-the-element-interface"><span class="secno">6. </span>Extensions to the <code><span title="element" class="formerLink" data-spec="DOM4">Element</span></code> interface</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#attributes"><span class="secno">6.1 </span>Attributes</a></li><li class="tocline"><a class="tocxref" href="#methods-2"><span class="secno">6.2 </span>Methods</a></li></ul></li><li class="tocline"><a class="tocxref" href="#extensions-to-the-text-interface"><span class="secno">7. </span>Extensions to the <code><span title="text" class="formerLink" data-spec="DOM4">Text</span></code> interface</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#attributes-1"><span class="secno">7.1 </span>Attributes</a></li></ul></li><li class="tocline"><a class="tocxref" href="#extensions-to-the-range-interface"><span class="secno">8. </span>Extensions to the <code><span title="range" class="formerLink" data-spec="DOM4">Range</span></code> interface</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#methods-3"><span class="secno">8.1 </span>Methods</a></li></ul></li><li class="tocline"><a class="tocxref" href="#acknowledgements"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a class="tocxref" href="#references"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a class="tocxref" href="#normative-references"><span class="secno">B.1 </span>Normative references</a></li><li class="tocline"><a class="tocxref" href="#informative-references"><span class="secno">B.2 </span>Informative references</a></li></ul></li></ul></section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   555
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   556
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   557
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   558
3
881b6e205d22 PubRules fixup
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 2
diff changeset
   559
    <section id="issues" class="introductory">
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   560
        <h1>Issues</h1>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   561
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   562
        <p>Various issues are listed in the rest of the document.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   563
        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   564
        <div class="issue"><div class="issue-title"><span>Issue 1</span></div><p>This specification currently requires using the XML 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   565
        Parser for some APIs, when in an XML document. It is unclear whether 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   566
        consensus can be found for this approach.</p></div>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   567
    </section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   568
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   569
    <section id="conformance"><!--OddPage--><h2><span class="secno">1. </span>Conformance</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   570
<p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   571
  As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   572
  and notes in this specification are non-normative. Everything else in this specification is
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   573
  normative.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   574
</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   575
<p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   576
  The key words <em title="must" class="rfc2119">must</em>, <em title="must not" class="rfc2119">must not</em>, <em title="required" class="rfc2119">required</em>, <em title="should" class="rfc2119">should</em>, <em title="should not" class="rfc2119">should not</em>, <em title="recommended" class="rfc2119">recommended</em>, <em title="may" class="rfc2119">may</em>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   577
  and <em title="optional" class="rfc2119">optional</em> in this specification are to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   578
</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   579
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   580
        <p>Requirements phrased in the imperative as part of algorithms
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   581
        (such as "strip any leading space characters" or "return false and
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   582
        terminate these steps") are to be interpreted with the meaning of the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   583
        key word ("must", "should", "may", etc) used in introducing the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   584
        algorithm.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   585
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   586
        <p>Conformance requirements phrased as algorithms or specific steps
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   587
        may be implemented in any manner, so long as the end result is
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   588
        equivalent. (In particular, the algorithms defined in this
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   589
        specification are intended to be easy to follow, and not intended to
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   590
        be performant.)</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   591
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   592
        <p id="hardwareLimitations">User agents may impose
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   593
        implementation-specific limits on otherwise unconstrained inputs,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   594
        e.g. to prevent denial of service attacks, to guard against running
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   595
        out of memory, or to work around platform-specific limitations.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   596
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   597
        <p>When a method or an attribute is said to call another method or 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   598
        attribute, the user agent must invoke its internal API for that 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   599
        attribute or method so that e.g. the author can't change the behavior 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   600
        by overriding attributes or methods with custom properties or functions 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   601
        in ECMAScript.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   602
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   603
        <p>Unless otherwise stated, string comparisons are done in a <a title="case-sensitive" class="externalDFN" data-spec="DOM4">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   604
        case-sensitive</a> manner.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   605
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   606
        <p>If an algorithm calls into another algorithm, any exception that is 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   607
        thrown by the latter (unless it is explicitly caught), must cause the 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   608
        former to terminate, and the exception to be propagated up to 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   609
        <em>its</em> caller.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   610
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   611
        <section id="dependencies">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   612
            <h3><span class="secno">1.1 </span>Dependencies</h3>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   613
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   614
            <p>The IDL fragments in this specification must be interpreted as
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   615
            required for conforming IDL fragments, as described in the Web IDL
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   616
            specification. [<cite><a class="bibref" href="#bib-WEBIDL">WEBIDL</a></cite>]</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   617
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   618
            <p>Some of the terms used in this specification are defined in
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   619
            [<cite><a class="bibref" href="#bib-DOM4">DOM4</a></cite>], [<cite><a class="bibref" href="#bib-HTML5">HTML5</a></cite>], and [<cite><a class="bibref" href="#bib-XML10">XML10</a></cite>].
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   620
        </p></section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   621
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   622
        <section id="extensibility">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   623
            <h3><span class="secno">1.2 </span>Extensibility</h3>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   624
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   625
            <p>Vendor-specific proprietary extensions to this specification are
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   626
            strongly discouraged. Authors must not use such extensions, as
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   627
            doing so reduces interoperability and fragments the user base,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   628
            allowing only users of specific user agents to access the content in
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   629
            question.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   630
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   631
            <p>If vendor-specific extensions are needed, the members should be
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   632
            prefixed by vendor-specific strings to prevent clashes with future
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   633
            versions of this specification. Extensions must be defined so that
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   634
            the use of extensions neither contradicts nor causes the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   635
            non-conformance of functionality defined in the specification.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   636
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   637
            <p>When vendor-neutral extensions to this specification are needed,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   638
            either this specification can be updated accordingly, or an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   639
            extension specification can be written that overrides the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   640
            requirements in this specification. When someone applying this
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   641
            specification to their activities decides that they will recognise
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   642
            the requirements of such an extension specification, it becomes an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   643
            <dfn title="other applicable specifications" id="dfn-other-applicable-specifications">applicable
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   644
            specification</dfn> for the purposes of conformance requirements in
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   645
            this specification.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   646
            <!-- http://www.w3.org/mid/17E341CD-E790-422C-9F9A-69347EE01CEB@iki.fi -->
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   647
        </section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   648
    </section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   649
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   650
    <section id="terminology">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   651
        <!--OddPage--><h2><span class="secno">2. </span>Terminology</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   652
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   653
        <p>The term <dfn id="dfn-context-object">context object</dfn> means the object on which the method or
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   654
        attribute being discussed was called.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   655
    </p></section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   656
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   657
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   658
    <section id="parsing-and-serializing-nodes">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   659
        <!--OddPage--><h2><span class="secno">3. </span>Parsing and serializing <a title="node" class="externalDFN" data-spec="DOM4">Node</a>s</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   660
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   661
        <section id="parsing">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   662
            <h3><span class="secno">3.1 </span>Parsing</h3>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   663
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   664
            <p>The following steps form the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   665
            <dfn title="concept-parse-fragment" id="dfn-concept-parse-fragment">fragment parsing algorithm</dfn>, whose
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   666
            arguments are a <var>markup</var> string and a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   667
            <var>context element</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   668
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   669
            <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   670
              <li>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   671
                <p>If the <var>context element</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   672
                <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   673
                is an <a title="html-document" class="externalDFN" data-spec="DOM4">HTML document</a>: let
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   674
                <var>algorithm</var> be the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   675
                <a title="html-fragment-parsing-algorithm" class="externalDFN" data-spec="HTML5">HTML 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   676
                fragment parsing algorithm</a>.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   677
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   678
                <p>If the <var>context element</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   679
                <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   680
                is an <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>: let
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   681
                <var>algorithm</var> be the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   682
                <a title="xml-fragment-parsing-algorithm" class="externalDFN" data-spec="HTML5">XML 
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   683
                fragment parsing algorithm</a>.</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   684
              </li>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   685
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   686
              <li>Invoke <var>algorithm</var> with <var>markup</var> as
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   687
              the <var>input</var>, and <var>context element</var> as the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   688
              <var><a title="concept-frag-parse-context" class="externalDFN" data-spec="HTML5">context</a></var>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   689
              element.</li>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   690
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   691
              <li>Let <var>new children</var> be the nodes returned.</li>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   692
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   693
              <li>Let <var>fragment</var> be a new
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   694
              <code><a title="documentfragment" class="externalDFN" data-spec="DOM4">DocumentFragment</a></code> whose
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   695
              <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   696
              is <var>context element</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   697
              <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   698
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   699
              <li><a title="concept-node-append" class="externalDFN" data-spec="DOM4">Append</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   700
              each <a title="concept-node" class="externalDFN" data-spec="DOM4">node</a> in
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   701
              <var>new children</var> to <var>fragment</var> (in order).
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   702
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   703
              <div class="note"><div class="note-title"><span>Note</span></div><p>This ensures the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   704
              <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   705
              for the new <a title="concept-node" class="externalDFN" data-spec="DOM4">nodes</a> is correct.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   706
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   707
              </p></div><li>Return <var>fragment</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   708
            </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   709
    </section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   710
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   711
    <section id="serializing">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   712
        <h3><span class="secno">3.2 </span>Serializing</h3>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   713
        <p>To <dfn title="concept-serialize" id="dfn-concept-serialize">serialize</dfn> a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   714
        <a title="node" class="externalDFN" data-spec="DOM4">Node</a> <var>node</var>, the user agent
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   715
        must run the following steps:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   716
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   717
        <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   718
          <li>Let <var>document</var> be <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   719
          <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   720
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   721
          <li>If <var>document</var> is an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   722
          <a title="html-document" class="externalDFN" data-spec="DOM4">HTML document</a>, return an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   723
          <a title="concept-serialize-html" class="internalDFN" href="#dfn-concept-serialize-html">HTML serialization</a> of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   724
          <var>node</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   725
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   726
          <li>Otherwise, <var>document</var> is an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   727
          <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>. Return an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   728
          <a title="concept-serialize-xml" class="internalDFN" href="#dfn-concept-serialize-xml">XML serialization</a> of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   729
          <var>node</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   730
        </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   731
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   732
        <p>To <dfn title="concept-serialize-html" id="dfn-concept-serialize-html">produce an HTML serialization</dfn> of a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   733
        <a title="node" class="externalDFN" data-spec="DOM4">Node</a> <var>node</var>, the user agent
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   734
        must run the appropriate steps, depending on <var>node</var>'s interface:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   735
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   736
        <dl class="switch">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   737
          <dt><code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   738
          <dt><code><a title="document" class="externalDFN" data-spec="DOM4">Document</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   739
          <dt><code><a title="documentfragment" class="externalDFN" data-spec="DOM4">DocumentFragment</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   740
          <dd><p>Run the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   741
          <a title="html-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">HTML fragment serialization algorithm</a> on
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   742
          <var>node</var>. Return the returned string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   743
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   744
          </p><dt><code><a title="comment" class="externalDFN" data-spec="DOM4">Comment</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   745
          <dt><code><a title="text" class="externalDFN" data-spec="DOM4">Text</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   746
          <dt><code><a title="documenttype" class="externalDFN" data-spec="DOM4">DocumentType</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   747
          <dt><code><a title="processinginstruction" class="externalDFN" data-spec="DOM4">ProcessingInstruction</a></code>
3
881b6e205d22 PubRules fixup
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 2
diff changeset
   748
          <dd><div class="issue"><div class="issue-title"><span>Issue 2</span></div>Define how these are serialized...</div>
881b6e205d22 PubRules fixup
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 2
diff changeset
   749
        </dd></dl>
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   750
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   751
        <p>To <dfn title="concept-serialize-xml" id="dfn-concept-serialize-xml">produce an XML serialization</dfn> of a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   752
        <a title="node" class="externalDFN" data-spec="DOM4">Node</a> <var>node</var>, the user agent
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   753
        must run the appropriate steps, depending on <var>node</var>'s interface:</p>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   754
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   755
        <dl class="switch">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   756
            <dt><code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   757
            <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   758
                <p>Return the concatenation of the following strings:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   759
                <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   760
                  <li>"<code>&lt;</code>" (U+003C LESS-THAN SIGN);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   761
                  <li>the value of <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   762
                  <code><a title="dom-Element-tagName" class="externalDFN" data-spec="DOM4">tagName</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   763
                  attribute;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   764
                  <div class="issue"><div class="issue-title"><span>Issue 3</span></div><p>escaping / throwing
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   765
                  </p></div><li>the <a title="concept-serialize-xml-attributes" class="internalDFN" href="#dfn-concept-serialize-xml-attributes">XML serialization of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   766
                  <var>node</var>'s attributes</a>;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   767
                  <li>"<code>&gt;</code>" (U+003E GREATER-THAN SIGN);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   768
                  <li>the <a title="concept-serialize-xml" class="internalDFN" href="#dfn-concept-serialize-xml">serialization</a> of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   769
                  <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   770
                  <a title="concept-tree-child" class="externalDFN" data-spec="DOM4">children</a>, in
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   771
                  order;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   772
                  <li>"<code>&lt;/</code>" (U+003C LESS-THAN SIGN, U+002F SOLIDUS);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   773
                  <li>the value of <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   774
                  <code><a title="dom-Element-tagName" class="externalDFN" data-spec="DOM4">tagName</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   775
                  attribute;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   776
                  <li>"<code>&gt;</code>" (U+003E GREATER-THAN SIGN).
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   777
                </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   778
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   779
            <dt><code><a title="document" class="externalDFN" data-spec="DOM4">Document</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   780
            <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   781
                <p>Run the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   782
                <a title="xml-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">XML fragment serialization algorithm</a> on
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   783
                <var>node</var>. Return the string this produced.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   784
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   785
            </p><dt><code><a title="comment" class="externalDFN" data-spec="DOM4">Comment</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   786
            <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   787
                <p>Let <var>markup</var> the concatenation of "<code>&lt;!--</code>", <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   788
                <code><a title="dom-characterdata-data" class="externalDFN" data-spec="DOM4">data</a></code>, and
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   789
                "<code>--&gt;</code>".
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   790
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   791
                <p>If <var>markup</var> matches the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   792
                <code><a title="comment" class="externalDFN" data-spec="XML10">Comment</a></code> production, return
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   793
                <var>markup</var>. Otherwise, throw a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   794
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   795
                with name <code>InvalidStateError</code>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   796
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   797
            </p><dt><code><a title="text" class="externalDFN" data-spec="DOM4">Text</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   798
            <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   799
                <p>Let <var>data</var> be <var>node</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   800
                <code><a title="dom-characterdata-data" class="externalDFN" data-spec="DOM4">data</a></code>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   801
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   802
                <p>If <var>node</var> has its <a class="internalDFN" href="#dfn-serialize-as-cdata-flag">serialize as CDATA flag</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   803
                set, run the following steps:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   804
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   805
                <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   806
                  <li>If <var>data</var> doesn't match the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   807
                  <code><a title="NT-CData" class="externalDFN" data-spec="XML10">CData</a></code> production, throw a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   808
                  <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   809
                  with name <code>InvalidStateError</code> and terminate the entire algorithm.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   810
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   811
                  <li>Let <var>markup</var> be the concatenation of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   812
                  "<code>&lt;![CDATA[</code>", <var>data</var>, and
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   813
                  "<code>]]&gt;</code>".
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   814
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   815
                  <li>Return <var>markup</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   816
                </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   817
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   818
                <p>Otherwise, return <var>data</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   819
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   820
            </p><dt><code><a title="documentfragment" class="externalDFN" data-spec="DOM4">DocumentFragment</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   821
            <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   822
                <p>Let <var>markup</var> the empty string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   823
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   824
                <p>For each
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   825
                <a title="concept-tree-child" class="externalDFN" data-spec="DOM4">child</a> of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   826
                <var>node</var>, in order,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   827
                <a title="concept-serialize-xml" class="internalDFN" href="#dfn-concept-serialize-xml">produce an XML serialization</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   828
                of the child and concatenate the result to <var>markup</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   829
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   830
                <p>Return <var>markup</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   831
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   832
            </p><dt><code><a title="documenttype" class="externalDFN" data-spec="DOM4">DocumentType</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   833
            <dt><code><a title="processinginstruction" class="externalDFN" data-spec="DOM4">ProcessingInstruction</a></code>
3
881b6e205d22 PubRules fixup
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 2
diff changeset
   834
            </dt>
881b6e205d22 PubRules fixup
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents: 2
diff changeset
   835
			<dd><div class="issue"><div class="issue-title"><span>Issue 4</span></div>TODO</div></dd>
2
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   836
        </dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   837
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   838
        <p>The <dfn title="concept-serialize-xml-attributes" id="dfn-concept-serialize-xml-attributes">XML serialization of the attributes</dfn> of an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   839
        <a title="concept-element" class="externalDFN" data-spec="DOM4">element</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   840
        <var>element</var> is the result of the following algorithm:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   841
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   842
        <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   843
          <li>Let <var>result</var> be the empty string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   844
          <li>For each
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   845
            <a title="concept-attribute" class="externalDFN" data-spec="DOM4">attribute</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   846
            <var>attr</var> in <var>element</var>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   847
            <a title="concept-element-attribute" class="externalDFN" data-spec="DOM4">attributes</a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   848
            in order, append the following strings to <var>result</var>:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   849
            <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   850
              <li>"<code> </code>" (U+0020 SPACE);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   851
              <li><var>attr</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   852
              <a title="concept-attribute-name" class="externalDFN" data-spec="DOM4">name</a>;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   853
              <div class="issue"><div class="issue-title"><span>Issue 5</span></div><p>escaping / throwing
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   854
              </p></div><li>"<code>="</code>" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   855
              <li><var>attr</var>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   856
              <a title="concept-attribute-value" class="externalDFN" data-spec="DOM4">value</a>;
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   857
              <div class="issue"><div class="issue-title"><span>Issue 6</span></div><p>escaping / throwing
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   858
              </p></div><li>"<code>"</code>" (U+0022 QUOTATION MARK).
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   859
            </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   860
          <li>Return <var>result</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   861
        </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   862
    </section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   863
</section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   864
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   865
<section id="the-domparser-interface">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   866
    <!--OddPage--><h2><span class="secno">4. </span>The <code>DOMParser</code> interface</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   867
    
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   868
<pre class="extraidl">enum <span class="idlInterfaceID">SupportedType</span> {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   869
    "text/html",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   870
    "text/xml",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   871
    "application/xml",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   872
    "application/xhtml+xml",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   873
    "image/svg+xml"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   874
};</pre>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   875
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   876
    <p>The <dfn title="dom-DOMParser" id="dfn-dom-domparser"><code>DOMParser()</code></dfn> constructor
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   877
    must return a new <code>DOMParser</code> object.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   878
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   879
    <pre class="idl"><span class="idlInterface" id="idl-def-DOMParser">[<span class="extAttr">Constructor</span>]
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   880
interface <span class="idlInterfaceID">DOMParser</span> {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   881
<span class="idlMethod">    <span class="idlMethType"><a>Document</a></span> <span class="idlMethName"><a href="#widl-DOMParser-parseFromString-Document-DOMString-str-SupportedType-type">parseFromString</a></span> (<span class="idlParam"><span class="idlParamType"><a>DOMString</a></span> <span class="idlParamName">str</span></span>, <span class="idlParam"><span class="idlParamType"><a>SupportedType</a></span> <span class="idlParamName">type</span></span>);</span>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   882
};</span></pre><section id="methods"><h3><span class="secno">4.1 </span>Methods</h3><dl class="methods"><dt id="widl-DOMParser-parseFromString-Document-DOMString-str-SupportedType-type"><code>parseFromString</code></dt><dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   883
            <p>The
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   884
            <dfn title="dom-DOMParser-parseFromString" id="dfn-dom-domparser-parsefromstring"><code>parseFromString(<var>str</var>, <var>type</var>)</code></dfn>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   885
            method must run these steps, depending on <var>type</var>:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   886
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   887
            <dl class="switch">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   888
                <dt>"<code>text/html</code>"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   889
                <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   890
                <p>Parse <var>str</var> with an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   891
                <code><a title="html-parser" class="externalDFN" data-spec="HTML5">HTML parser</a></code>, and return the newly
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   892
                created <a title="concept-document" class="externalDFN" data-spec="DOM4">document</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   893
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   894
                <p>The <a title="scripting-flag" class="externalDFN" data-spec="HTML5">scripting flag</a> must be set to
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   895
                "disabled".
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   896
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   897
                <div class="note"><div class="note-title"><span>Note</span></div><p><code><a title="meta" class="externalDFN" data-spec="HTML5">meta</a></code> elements are not
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   898
                taken into account for the encoding used, as a Unicode stream is passed into
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   899
                the parser.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   900
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   901
                </p></div><div class="note"><div class="note-title"><span>Note</span></div><p><code><a title="script" class="externalDFN" data-spec="HTML5">script</a></code> elements get marked
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   902
                unexecutable and the contents of <code><a title="noscript" class="externalDFN" data-spec="HTML5">noscript</a></code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   903
                get parsed as markup.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   904
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   905
                </p></div><dt>"<code>text/xml</code>"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   906
                <dt>"<code>application/xml</code>"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   907
                <dt>"<code>application/xhtml+xml</code>"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   908
                <dt>"<code>image/svg+xml</code>"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   909
                <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   910
                <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   911
                    <li>Parse <var>str</var> with a namespace-enabled
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   912
                    <code><a title="xml-parser" class="externalDFN" data-spec="HTML5">XML parser</a></code>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   913
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   914
                    <li>If the previous step didn't return an error, return the newly
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   915
                    created <a title="concept-document" class="externalDFN" data-spec="DOM4">document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   916
                    and terminate these steps.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   917
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   918
                    <li>Let <var>document</var> be a newly-created
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   919
                    <code><a title="xmldocument" class="externalDFN" data-spec="DOM4">XMLDocument</a></code>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   920
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   921
                    <li>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   922
                    <p>Let <var>root</var> be a new
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   923
                    <code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code>, with its
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   924
                    <a title="concept-element-local-name" class="externalDFN" data-spec="DOM4">local name</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   925
                    set to "<code>parsererror</code>" and its
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   926
                    <a title="concept-element-namespace" class="externalDFN" data-spec="DOM4">namespace</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   927
                    set to
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   928
                    "<code>http://www.mozilla.org/newlayout/xml/parsererror.xml</code>".
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   929
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   930
                    <p>At this point user agents may
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   931
                    <a title="concept-node-append" class="externalDFN" data-spec="DOM4">append</a> nodes
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   932
                    to <var>root</var>, for example to describe the nature of the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   933
                    error.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   934
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   935
                    </p><li><a title="concept-node-append" class="externalDFN" data-spec="DOM4">Append</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   936
                    <var>root</var> to <var>document</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   937
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   938
                    <li>Return <var>document</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   939
                </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   940
            </dd></dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   941
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   942
            <p>In any case, the returned
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   943
            <a title="concept-document" class="externalDFN" data-spec="DOM4">document</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   944
            <a title="concept-document-content-type" class="externalDFN" data-spec="DOM4">content type</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   945
            must be the <var>type</var> argument.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   946
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   947
            <div class="issue"><div class="issue-title"><span>Issue 7</span></div><div>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   948
                <p>It is currently unclear what the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   949
                <a title="concept-document-url" class="externalDFN" data-spec="DOM4">URL</a> of the returned
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   950
                <a title="concept-document" class="externalDFN" data-spec="DOM4">document</a> should be.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   951
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   952
                <p>Results for a <a href="http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1322">test case</a>:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   953
                <table>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   954
                <thead>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   955
                    <tr>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   956
                    <th><th>Gecko<th>Opera<th>Chrome
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   957
                </tr><tbody>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   958
                    <tr>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   959
                    <th>document.location <td colspan="3">null
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   960
                    <tr>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   961
                    <th>document.URL <td>unsupported <td>unsupported <td>""
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   962
                    <tr>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   963
                    <th>document.documentURI <td>Page URL <td>null <td>null
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   964
                </tr></tbody></table>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   965
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   966
                <p>Anne van Kesteren suggests using the default, about:blank.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   967
            </p></div></div>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   968
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   969
            <div class="note"><div class="note-title"><span>Note</span></div><p>The returned
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   970
            <a title="concept-document" class="externalDFN" data-spec="DOM4">document</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   971
            <a title="concept-document-encoding" class="externalDFN" data-spec="DOM4">encoding</a> is
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   972
            the default, UTF-8.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   973
        </p></div><table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">str</td><td class="prmType"><code><a>DOMString</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">type</td><td class="prmType"><code><a>SupportedType</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>Document</a></code></div></dd></dl></section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   974
</section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   975
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   976
<section id="the-xmlserializer-interface">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   977
    <!--OddPage--><h2><span class="secno">5. </span>The <code>XMLSerializer</code> interface</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   978
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   979
    <p>The <dfn title="dom-XMLSerializer" id="dfn-dom-xmlserializer"><code>XMLSerializer()</code></dfn>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   980
    constructor must return a new <code>XMLSerializer</code> object.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   981
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   982
    <pre class="idl"><span class="idlInterface" id="idl-def-XMLSerializer">[<span class="extAttr">Constructor</span>]
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   983
interface <span class="idlInterfaceID">XMLSerializer</span> {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   984
<span class="idlMethod">    <span class="idlMethType"><a>DOMString</a></span> <span class="idlMethName"><a href="#widl-XMLSerializer-serializeToString-DOMString-Node-root">serializeToString</a></span> (<span class="idlParam"><span class="idlParamType"><a>Node</a></span> <span class="idlParamName">root</span></span>);</span>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   985
};</span></pre><section id="methods-1"><h3><span class="secno">5.1 </span>Methods</h3><dl class="methods"><dt id="widl-XMLSerializer-serializeToString-DOMString-Node-root"><code>serializeToString</code></dt><dd>The <code>serializeToString(<var>root</var>)</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   986
        method must <a title="concept-serialize-xml" class="internalDFN" href="#dfn-concept-serialize-xml">produce an XML serialization</a> of <var>root</var> and return the result.<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">root</td><td class="prmType"><code><a>Node</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>DOMString</a></code></div></dd></dl></section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   987
</section>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   988
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   989
<section id="extensions-to-the-element-interface">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   990
    <!--OddPage--><h2><span class="secno">6. </span>Extensions to the <code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code> interface</h2>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   991
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   992
<!-- Remove the following pre when the enum parsing becomes available in WebIDL -->
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   993
<pre class="extraidl">enum <span class="idlInterfaceID">insertAdjacentHTMLPosition</span> {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   994
    "beforebegin",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   995
    "afterbegin",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   996
    "beforeend",
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   997
    "afterend"
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   998
};</pre>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
   999
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1000
    <pre class="idl"><span class="idlInterface" id="idl-def-Element">partial interface <span class="idlInterfaceID">Element</span> {
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1001
<span class="idlAttribute">             attribute <span class="idlAttrType"><a>DOMString</a></span> <span class="idlAttrName"><a href="#widl-Element-innerHTML">innerHTML</a></span>;</span>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1002
<span class="idlAttribute">             attribute <span class="idlAttrType"><a>DOMString</a></span> <span class="idlAttrName"><a href="#widl-Element-outerHTML">outerHTML</a></span>;</span>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1003
<span class="idlMethod">    <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-Element-insertAdjacentHTML-void-insertAdjacentHTMLPosition-position-DOMString-text">insertAdjacentHTML</a></span> (<span class="idlParam"><span class="idlParamType"><a>insertAdjacentHTMLPosition</a></span> <span class="idlParamName">position</span></span>, <span class="idlParam"><span class="idlParamType"><a>DOMString</a></span> <span class="idlParamName">text</span></span>);</span>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1004
};</span></pre><section id="attributes"><h3><span class="secno">6.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-Element-innerHTML"><code>innerHTML</code> of type <span class="idlAttrType"><a>DOMString</a></span></dt><dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1005
            <p>The <dfn title="dom-Element-innerHTML" id="dfn-dom-element-innerhtml"><code>innerHTML</code></dfn> IDL
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1006
            attribute represents the markup of the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1007
            <code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code>'s contents.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1008
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1009
            <dl class="domintro">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1010
                <!--doc.ih
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1011
                <dt><var>document</var> . <code title=dom-Document-innerHTML>innerHTML</code> [ = <var>value</var> ]
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1012
                <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1013
                <p>Returns a fragment of HTML or XML that represents the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1014
                <code><a title="document" data-spec="DOM4" class="externalDFN">Document</a></code>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1015
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1016
                <p>Can be set, to replace the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1017
                <code><a title="document" data-spec="DOM4" class="externalDFN">Document</a></code>'s contents with the result of
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1018
                parsing the given string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1019
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1020
                <p>In the case of an <a title="xml-document" data-spec="DOM4" class="externalDFN">XML document</a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1021
                will throw an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1022
                <code><a data-spec="DOM4" title=domexception class="externalDFN">DOMException</a></code> with name <code>InvalidStateError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1023
                if the <code><a title="document" data-spec="DOM4" class="externalDFN">Document</a></code> cannot be serialized
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1024
                to XML, and a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1025
                <code><a data-spec="DOM4" title=domexception class="externalDFN">DOMException</a></code> with name <code>SyntaxError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1026
                if the given string is not well-formed.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1027
                -->
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1028
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1029
                <dt><var>element</var> . <code title="dom-Element-innerHTML">innerHTML</code> [ = <var>value</var> ]
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1030
                <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1031
                <p>Returns a fragment of HTML or XML that represents the element's
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1032
                contents.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1033
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1034
                <p>Can be set, to replace the contents of the element with nodes
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1035
                parsed from the given string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1036
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1037
                <p>In the case of an <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1038
                will throw a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1039
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code> with name <code>InvalidStateError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1040
                if the <code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code> cannot be serialized
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1041
                to XML, and a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1042
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code> with name <code>SyntaxError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1043
                if the given string is not well-formed.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1044
            </p></dd></dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1045
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1046
            <p>On getting, if the <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1047
            <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1048
            is an <a title="html-document" class="externalDFN" data-spec="DOM4">HTML document</a>, then the attribute
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1049
            must return the result of running the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1050
            <a title="html-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">HTML fragment serialization algorithm</a> on the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1051
            <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>; otherwise, the <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1052
            <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1053
            is an <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>, and the attribute must
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1054
            return the result of running the        
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1055
            <a title="xml-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">XML fragment serialization algorithm</a> on the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1056
            <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a> instead (this might throw an
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1057
            exception instead of returning a string).
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1058
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1059
            <p>On setting, these steps must be run:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1060
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1061
            <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1062
                <li>Let <var>fragment</var> be the result of invoking the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1063
                <a title="concept-parse-fragment" class="internalDFN" href="#dfn-concept-parse-fragment">fragment parsing algorithm</a> with
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1064
                the new value as <var>markup</var>, and the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1065
                <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a> as the <var>context element</var>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1066
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1067
                <li><a title="concept-node-replace-all" class="externalDFN" data-spec="DOM4">Replace all</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1068
                with <var>fragment</var> within the <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1069
            </li></ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1070
        </dd><dt id="widl-Element-outerHTML"><code>outerHTML</code> of type <span class="idlAttrType"><a>DOMString</a></span></dt><dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1071
            <p>The <dfn title="dom-Element-outerHTML" id="dfn-dom-element-outerhtml"><code>outerHTML</code></dfn> IDL
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1072
            attribute represents the markup of the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1073
            <code><a title="element" class="externalDFN" data-spec="DOM4">Element</a></code> and its contents.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1074
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1075
            <dl class="domintro">
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1076
              <dt><var>element</var> . <code title="dom-Element-outerHTML">outerHTML</code> [ = <var>value</var> ]
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1077
              <dd>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1078
                <p>Returns a fragment of HTML or XML that represents the element and its
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1079
                contents.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1080
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1081
                <p>Can be set, to replace the element with nodes parsed from the given
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1082
                string.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1083
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1084
                <p>In the case of an <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>,
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1085
                will throw a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1086
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code> with name <code>InvalidStateError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1087
                if the element cannot be serialized to XML, and a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1088
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code> with name <code>SyntaxError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1089
                if the given string is not well-formed.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1090
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1091
                <p>Throws a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1092
                <code><a title="domexception" class="externalDFN" data-spec="DOM4">DOMException</a></code> with name <code>NoModificationAllowedError</code>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1093
                if the parent of the element is the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1094
                <code><a title="document" class="externalDFN" data-spec="DOM4">Document</a></code> node.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1095
            </p></dd></dl>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1096
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1097
            <p>On getting, if the <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1098
            <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1099
            is an <a title="html-document" class="externalDFN" data-spec="DOM4">HTML document</a>, then the attribute
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1100
            must return the result of running the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1101
            <a title="html-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">HTML fragment serialization algorithm</a> on a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1102
            fictional node whose only child is <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>; otherwise, the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1103
            <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1104
            <a title="concept-node-document" class="externalDFN" data-spec="DOM4">node document</a>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1105
            is an <a title="xml-document" class="externalDFN" data-spec="DOM4">XML document</a>, and the attribute must
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1106
            return the result of running the
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1107
            <a title="xml-fragment-serialization-algorithm" class="externalDFN" data-spec="HTML5">XML fragment serialization algorithm</a> on that
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1108
            fictional node instead (this might throw an exception instead of returning a
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1109
            string).
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1110
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1111
            <p>On setting, the following steps must be run:
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1112
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1113
            <ol>
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1114
                <li>Let <var>parent</var> be the <a title="context object" class="internalDFN" href="#dfn-context-object">context object</a>'s
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.microsoft.com
parents:
diff changeset
  1115
                <a title="concept-tree-parent" class="externalDFN" data-spec="DOM4">parent</a>.
822f24c7e0f0 Preparing the FPWD
travil@travil1.wingroup.windeploy.ntdev.micr