Permalink
Browse files

Add [SameObject] to .children, [NewObject] to cloneNode() / importNod…

  • Loading branch information...
1 parent 5fc973c commit 2579be48dcbbce82a25bb94dd9fd54fc6d423846 @annevk annevk committed Dec 12, 2014
Showing with 7 additions and 7 deletions.
  1. +3 −3 Overview.src.html
  2. +4 −4 dom-core.html
View
@@ -1742,7 +1742,7 @@ <h2 class=no-num>Goals</h2>
<pre class=idl>[NoInterfaceObject]
interface <dfn>ParentNode</dfn> {
- readonly attribute <span>HTMLCollection</span> <span title=dom-ParentNode-children>children</span>;
+ [SameObject] readonly attribute <span>HTMLCollection</span> <span title=dom-ParentNode-children>children</span>;
readonly attribute <span>Element</span>? <span title=dom-ParentNode-firstElementChild>firstElementChild</span>;
readonly attribute <span>Element</span>? <span title=dom-ParentNode-lastElementChild>lastElementChild</span>;
readonly attribute unsigned long <span title=dom-ParentNode-childElementCount>childElementCount</span>;
@@ -2830,7 +2830,7 @@ <h2 class=no-num>Goals</h2>
attribute DOMString? <span title=dom-Node-textContent>textContent</span>;
void <span title=dom-Node-normalize>normalize</span>();
- <span>Node</span> <span title=dom-Node-cloneNode>cloneNode</span>(optional boolean <var title>deep</var> = false);
+ [NewObject] <span>Node</span> <span title=dom-Node-cloneNode>cloneNode</span>(optional boolean <var title>deep</var> = false);
boolean <span title=dom-Node-isEqualNode>isEqualNode</span>(<span>Node</span>? <var title>node</var>);
const unsigned short <span title=dom-Node-DOCUMENT_POSITION_DISCONNECTED>DOCUMENT_POSITION_DISCONNECTED</span> = 0x01;
@@ -3954,7 +3954,7 @@ <h2 class=no-num>Goals</h2>
[NewObject] <span>ProcessingInstruction</span> <span title=dom-Document-createProcessingInstruction>createProcessingInstruction</span>(DOMString <var title>target</var>, DOMString <var title>data</var>);<!--
CDATASection createCDATASection(DOMString data);-->
- <span>Node</span> <span title=dom-Document-importNode>importNode</span>(<span>Node</span> <var title>node</var>, optional boolean <var title>deep</var> = false);
+ [NewObject] <span>Node</span> <span title=dom-Document-importNode>importNode</span>(<span>Node</span> <var title>node</var>, optional boolean <var title>deep</var> = false);
<span>Node</span> <span title=dom-Document-adoptNode>adoptNode</span>(<span>Node</span> <var title>node</var>);
[NewObject] <span>Attr</span> <span title=dom-Document-createAttribute>createAttribute</span>(DOMString <var>localName</var>);
View
@@ -9,7 +9,7 @@
<hgroup>
<h1 class="allcaps">DOM</h1>
- <h2>Living Standard — Last Updated 11 December 2014</h2>
+ <h2>Living Standard — Last Updated 12 December 2014</h2>
</hgroup>
<dl>
@@ -1822,7 +1822,7 @@ <h4 id="interface-parentnode"><span class="secno">4.2.3 </span>Interface <code><
<pre class="idl">[NoInterfaceObject]
interface <dfn id="parentnode">ParentNode</dfn> {
- readonly attribute <a href="#htmlcollection">HTMLCollection</a> <a href="#dom-parentnode-children" title="dom-ParentNode-children">children</a>;
+ [SameObject] readonly attribute <a href="#htmlcollection">HTMLCollection</a> <a href="#dom-parentnode-children" title="dom-ParentNode-children">children</a>;
readonly attribute <a href="#element">Element</a>? <a href="#dom-parentnode-firstelementchild" title="dom-ParentNode-firstElementChild">firstElementChild</a>;
readonly attribute <a href="#element">Element</a>? <a href="#dom-parentnode-lastelementchild" title="dom-ParentNode-lastElementChild">lastElementChild</a>;
readonly attribute unsigned long <a href="#dom-parentnode-childelementcount" title="dom-ParentNode-childElementCount">childElementCount</a>;
@@ -2908,7 +2908,7 @@ <h3 id="interface-node"><span class="secno">4.4 </span>Interface <code><a href="
attribute DOMString? <a href="#dom-node-textcontent" title="dom-Node-textContent">textContent</a>;
void <a href="#dom-node-normalize" title="dom-Node-normalize">normalize</a>();
- <a href="#node">Node</a> <a href="#dom-node-clonenode" title="dom-Node-cloneNode">cloneNode</a>(optional boolean <var title="">deep</var> = false);
+ [NewObject] <a href="#node">Node</a> <a href="#dom-node-clonenode" title="dom-Node-cloneNode">cloneNode</a>(optional boolean <var title="">deep</var> = false);
boolean <a href="#dom-node-isequalnode" title="dom-Node-isEqualNode">isEqualNode</a>(<a href="#node">Node</a>? <var title="">node</var>);
const unsigned short <a href="#dom-node-document_position_disconnected" title="dom-Node-DOCUMENT_POSITION_DISCONNECTED">DOCUMENT_POSITION_DISCONNECTED</a> = 0x01;
@@ -4029,7 +4029,7 @@ <h3 id="interface-document"><span class="secno">4.5 </span>Interface <code><a hr
[NewObject] <a href="#processinginstruction">ProcessingInstruction</a> <a href="#dom-document-createprocessinginstruction" title="dom-Document-createProcessingInstruction">createProcessingInstruction</a>(DOMString <var title="">target</var>, DOMString <var title="">data</var>);<!--
CDATASection createCDATASection(DOMString data);-->
- <a href="#node">Node</a> <a href="#dom-document-importnode" title="dom-Document-importNode">importNode</a>(<a href="#node">Node</a> <var title="">node</var>, optional boolean <var title="">deep</var> = false);
+ [NewObject] <a href="#node">Node</a> <a href="#dom-document-importnode" title="dom-Document-importNode">importNode</a>(<a href="#node">Node</a> <var title="">node</var>, optional boolean <var title="">deep</var> = false);
<a href="#node">Node</a> <a href="#dom-document-adoptnode" title="dom-Document-adoptNode">adoptNode</a>(<a href="#node">Node</a> <var title="">node</var>);
[NewObject] <a href="#attr">Attr</a> <a href="#dom-document-createattribute" title="dom-Document-createAttribute">createAttribute</a>(DOMString <var>localName</var>);

0 comments on commit 2579be4

Please sign in to comment.