Commits

annevk committed ab0985b
  • Participants
  • Parent commits 2d8624c

Comments (0)

Files changed (3)

 <!--end-logo-->
 </div>
  <h1>DOM4</h1>
- <h2 class="no-num no-toc" id="editor-s-draft-5-december-2011">
-  <span class="w3conly">Editor's Draft 5 December 2011</span>
+ <h2 class="no-num no-toc" id="editor-s-draft-9-december-2011">
+  <span class="w3conly">Editor's Draft 9 December 2011</span>
   </h2>
 
  <dl>
 <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
 To the extent possible under law, the editors have waived all copyright and
 related or neighboring rights to this work. In addition, as of
-5 December 2011, the editors have made this specification available
+9 December 2011, the editors have made this specification available
 under the
 <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
 which is available at
   void <a href="#dom-range-selectnode" title="dom-Range-selectNode">selectNode</a>(<a href="#node">Node</a> <var title="">refNode</var>);
   void <a href="#dom-range-selectnodecontents" title="dom-Range-selectNodeContents">selectNodeContents</a>(<a href="#node">Node</a> <var title="">refNode</var>);
 
-  enum <dfn id="dom-range-enum-comparehow" title="dom-Range-enum-CompareHow">CompareHow</dfn> : unsigned short {
-    <dfn id="dom-comparehow-start_to_start" title="dom-CompareHow-START_TO_START">START_TO_START</dfn> = 0,
-    <dfn id="dom-comparehow-start_to_end" title="dom-CompareHow-START_TO_END">START_TO_END</dfn>   = 1,
-    <dfn id="dom-comparehow-end_to_end" title="dom-CompareHow-END_TO_END">END_TO_END</dfn>     = 2,
-    <dfn id="dom-comparehow-end_to_start" title="dom-CompareHow-END_TO_START">END_TO_START</dfn>   = 3
-  };
-
-  short <a href="#dom-range-compareboundarypoints" title="dom-Range-compareBoundaryPoints">compareBoundaryPoints</a>(<a href="#dom-range-enum-comparehow" title="dom-Range-enum-CompareHow">CompareHow</a> <var title="">how</var>, <a href="#range">Range</a> <var title="">sourceRange</var>);
+  const unsigned short <dfn id="dom-comparehow-start_to_start" title="dom-CompareHow-START_TO_START">START_TO_START</dfn> = 0,
+  const unsigned short <dfn id="dom-comparehow-start_to_end" title="dom-CompareHow-START_TO_END">START_TO_END</dfn> = 1,
+  const unsigned short <dfn id="dom-comparehow-end_to_end" title="dom-CompareHow-END_TO_END">END_TO_END</dfn> = 2,
+  const unsigned short <dfn id="dom-comparehow-end_to_start" title="dom-CompareHow-END_TO_START">END_TO_START</dfn> = 3
+  short <a href="#dom-range-compareboundarypoints" title="dom-Range-compareBoundaryPoints">compareBoundaryPoints</a>(unsigned short <var title="">how</var>, <a href="#range">Range</a> <var title="">sourceRange</var>);
+
   void <a href="#dom-range-deletecontents" title="dom-Range-deleteContents">deleteContents</a>();
   <a href="#documentfragment">DocumentFragment</a> <a href="#dom-range-extractcontents" title="dom-Range-extractContents">extractContents</a>();
   <a href="#documentfragment">DocumentFragment</a> <a href="#dom-range-clonecontents" title="dom-Range-cloneContents">cloneContents</a>();
   void <a href="#dom-range-insertnode" title="dom-Range-insertNode">insertNode</a>(<a href="#node">Node</a> <var title="">node</var>);
   void <a href="#dom-range-surroundcontents" title="dom-Range-surroundContents">surroundContents</a>(<a href="#node">Node</a> <var title="">newParent</var>);
+
   <a href="#range">Range</a> <a href="#dom-range-clonerange" title="dom-Range-cloneRange">cloneRange</a>();
   void <a href="#dom-range-detach" title="dom-Range-detach">detach</a>();
 

Overview.src.html

   void <span title=dom-Range-selectNode>selectNode</span>(<span>Node</span> <var title>refNode</var>);
   void <span title=dom-Range-selectNodeContents>selectNodeContents</span>(<span>Node</span> <var title>refNode</var>);
 
-  enum <dfn title=dom-Range-enum-CompareHow>CompareHow</dfn> : unsigned short {
-    <dfn title=dom-CompareHow-START_TO_START>START_TO_START</dfn> = 0,
-    <dfn title=dom-CompareHow-START_TO_END>START_TO_END</dfn>   = 1,
-    <dfn title=dom-CompareHow-END_TO_END>END_TO_END</dfn>     = 2,
-    <dfn title=dom-CompareHow-END_TO_START>END_TO_START</dfn>   = 3
-  };
-
-  short <span title=dom-Range-compareBoundaryPoints>compareBoundaryPoints</span>(<span title=dom-Range-enum-CompareHow>CompareHow</span> <var title>how</var>, <span>Range</span> <var title>sourceRange</var>);
+  const unsigned short <dfn title=dom-CompareHow-START_TO_START>START_TO_START</dfn> = 0,
+  const unsigned short <dfn title=dom-CompareHow-START_TO_END>START_TO_END</dfn> = 1,
+  const unsigned short <dfn title=dom-CompareHow-END_TO_END>END_TO_END</dfn> = 2,
+  const unsigned short <dfn title=dom-CompareHow-END_TO_START>END_TO_START</dfn> = 3
+  short <span title=dom-Range-compareBoundaryPoints>compareBoundaryPoints</span>(unsigned short <var title>how</var>, <span>Range</span> <var title>sourceRange</var>);
+
   void <span title=dom-Range-deleteContents>deleteContents</span>();
   <span>DocumentFragment</span> <span title=dom-Range-extractContents>extractContents</span>();
   <span>DocumentFragment</span> <span title=dom-Range-cloneContents>cloneContents</span>();
   void <span title=dom-Range-insertNode>insertNode</span>(<span>Node</span> <var title>node</var>);
   void <span title=dom-Range-surroundContents>surroundContents</span>(<span>Node</span> <var title>newParent</var>);
+
   <span>Range</span> <span title=dom-Range-cloneRange>cloneRange</span>();
   void <span title=dom-Range-detach>detach</span>();
 
 
 <div class="head">
 <h1>DOM4</h1>
- <h2 class="no-num no-toc" id="free-editor-s-draft-5-december-2011">
-  <span class="now3c">Free Editor's Draft 5 December 2011</span>
+ <h2 class="no-num no-toc" id="free-editor-s-draft-9-december-2011">
+  <span class="now3c">Free Editor's Draft 9 December 2011</span>
  </h2>
 
  <dl>
 <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
 To the extent possible under law, the editors have waived all copyright and
 related or neighboring rights to this work. In addition, as of
-5 December 2011, the editors have made this specification available
+9 December 2011, the editors have made this specification available
 under the
 <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
 which is available at
   void <a href="#dom-range-selectnode" title="dom-Range-selectNode">selectNode</a>(<a href="#node">Node</a> <var title="">refNode</var>);
   void <a href="#dom-range-selectnodecontents" title="dom-Range-selectNodeContents">selectNodeContents</a>(<a href="#node">Node</a> <var title="">refNode</var>);
 
-  enum <dfn id="dom-range-enum-comparehow" title="dom-Range-enum-CompareHow">CompareHow</dfn> : unsigned short {
-    <dfn id="dom-comparehow-start_to_start" title="dom-CompareHow-START_TO_START">START_TO_START</dfn> = 0,
-    <dfn id="dom-comparehow-start_to_end" title="dom-CompareHow-START_TO_END">START_TO_END</dfn>   = 1,
-    <dfn id="dom-comparehow-end_to_end" title="dom-CompareHow-END_TO_END">END_TO_END</dfn>     = 2,
-    <dfn id="dom-comparehow-end_to_start" title="dom-CompareHow-END_TO_START">END_TO_START</dfn>   = 3
-  };
-
-  short <a href="#dom-range-compareboundarypoints" title="dom-Range-compareBoundaryPoints">compareBoundaryPoints</a>(<a href="#dom-range-enum-comparehow" title="dom-Range-enum-CompareHow">CompareHow</a> <var title="">how</var>, <a href="#range">Range</a> <var title="">sourceRange</var>);
+  const unsigned short <dfn id="dom-comparehow-start_to_start" title="dom-CompareHow-START_TO_START">START_TO_START</dfn> = 0,
+  const unsigned short <dfn id="dom-comparehow-start_to_end" title="dom-CompareHow-START_TO_END">START_TO_END</dfn> = 1,
+  const unsigned short <dfn id="dom-comparehow-end_to_end" title="dom-CompareHow-END_TO_END">END_TO_END</dfn> = 2,
+  const unsigned short <dfn id="dom-comparehow-end_to_start" title="dom-CompareHow-END_TO_START">END_TO_START</dfn> = 3
+  short <a href="#dom-range-compareboundarypoints" title="dom-Range-compareBoundaryPoints">compareBoundaryPoints</a>(unsigned short <var title="">how</var>, <a href="#range">Range</a> <var title="">sourceRange</var>);
+
   void <a href="#dom-range-deletecontents" title="dom-Range-deleteContents">deleteContents</a>();
   <a href="#documentfragment">DocumentFragment</a> <a href="#dom-range-extractcontents" title="dom-Range-extractContents">extractContents</a>();
   <a href="#documentfragment">DocumentFragment</a> <a href="#dom-range-clonecontents" title="dom-Range-cloneContents">cloneContents</a>();
   void <a href="#dom-range-insertnode" title="dom-Range-insertNode">insertNode</a>(<a href="#node">Node</a> <var title="">node</var>);
   void <a href="#dom-range-surroundcontents" title="dom-Range-surroundContents">surroundContents</a>(<a href="#node">Node</a> <var title="">newParent</var>);
+
   <a href="#range">Range</a> <a href="#dom-range-clonerange" title="dom-Range-cloneRange">cloneRange</a>();
   void <a href="#dom-range-detach" title="dom-Range-detach">detach</a>();