- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Feb 2010 17:54:23 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Clarify some terms like 'home subtree' by moving some things around and adding some more explanatory text in terms of the other terms defined. (whatwg r4750) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3797&r2=1.3798&f=h http://html5.org/tools/web-apps-tracker?from=4749&to=4750 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3797 retrieving revision 1.3798 diff -u -d -r1.3797 -r1.3798 --- Overview.html 16 Feb 2010 08:50:23 -0000 1.3797 +++ Overview.html 16 Feb 2010 08:54:12 -0000 1.3798 @@ -1686,19 +1686,22 @@ node itself if it has no ancestors. When the node is a part of the document, then the node's <a href="#root-element">root element</a> is indeed the document's root element; however, if the node is not currently part - of the document tree, the root element will be an orphaned node.<p>A node's <dfn id="home-subtree">home subtree</dfn> is the subtree rooted at that - node's <a href="#root-element">root element</a>.<p>The <code><a href="#document">Document</a></code> of a <code>Node</code> (such as an - element) is the <code><a href="#document">Document</a></code> that the <code>Node</code>'s - <code title="">ownerDocument</code> IDL attribute returns.<p>When an element's <a href="#root-element">root element</a> is the <a href="#root-element">root - element</a> of a <code><a href="#document">Document</a></code>, it is said to be <dfn id="in-a-document">in - a <code>Document</code></dfn>. An element is said to have been <dfn id="insert-an-element-into-a-document" title="insert an element into a document">inserted into a + of the document tree, the root element will be an orphaned node.<p>When an element's <a href="#root-element">root element</a> is the root element + of a <code><a href="#document">Document</a></code>, it is said to be <dfn id="in-a-document">in a + <code>Document</code></dfn>. An element is said to have been <dfn id="insert-an-element-into-a-document" title="insert an element into a document">inserted into a document</dfn> when its <a href="#root-element">root element</a> changes and is now the document's <a href="#root-element">root element</a>. Analogously, an element is said to have been <dfn id="remove-an-element-from-a-document" title="remove an element from a document">removed from a document</dfn> when its <a href="#root-element">root element</a> changes from being the document's <a href="#root-element">root - element</a> to being another element.<p>If a <code>Node</code> is <a href="#in-a-document">in a <code>Document</code></a> - then that <code><a href="#document">Document</a></code> is always the <code>Node</code>'s + element</a> to being another element.<p>A node's <dfn id="home-subtree">home subtree</dfn> is the subtree rooted at that + node's <a href="#root-element">root element</a>. When a node is <a href="#in-a-document">in a + <code>Document</code></a>, its <a href="#home-subtree">home subtree</a> is that + <code><a href="#document">Document</a></code>'s tree.<p>The <code><a href="#document">Document</a></code> of a <code>Node</code> (such as an + element) is the <code><a href="#document">Document</a></code> that the <code>Node</code>'s + <code title="">ownerDocument</code> IDL attribute returns. When a + <code>Node</code> is <a href="#in-a-document">in a <code>Document</code></a> then + that <code><a href="#document">Document</a></code> is always the <code>Node</code>'s <code><a href="#document">Document</a></code>, and the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that <code><a href="#document">Document</a></code>.<p>The term <dfn id="tree-order">tree order</dfn> means a pre-order, depth-first traversal of DOM nodes involved (through the <code title="">parentNode</code>/<code title="">childNodes</code>
Received on Tuesday, 16 February 2010 08:54:52 UTC