Skip to content

Commit

Permalink
[e] (0) More DOM Core refactoring
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13387

git-svn-id: http://svn.whatwg.org/webapps@6505 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 17, 2011
1 parent a6bf931 commit 0785283
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 27 deletions.
17 changes: 7 additions & 10 deletions complete.html
Expand Up @@ -3797,6 +3797,7 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>
<li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn></li>
<li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn></li>
<li>The algorithm to <dfn id=concept-node-clone title=concept-node-clone>clone</dfn> a <code><a href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext title=concept-node-clone-ext>cloning steps</dfn> used by tat algorithm</li>
<li>The concept of <span>base URL change steps</span> and the definition of what happens when an element is <span>affected by a base URL change</span>.</li>

</ul><p>The following <code><a href=#domexception>DOMException</a></code> codes are defined in
the DOM Core specification: <a href=#refsDOMCORE>[DOMCORE]</a></p>
Expand Down Expand Up @@ -7090,19 +7091,15 @@ <h4 id=dynamic-changes-to-base-urls><span class=secno>2.6.5 </span>Dynamic chang

<p>When an <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute
changes, the attribute's element, and all descendant elements, are
<a href=#affected-by-a-base-url-change>affected by a base URL change</a>.</p>
<span>affected by a base URL change</span>.</p>

<p>When a document's <a href=#document-base-url>document base URL</a> changes, all
elements in that document are <a href=#affected-by-a-base-url-change>affected by a base URL
change</a>.</p>
elements in that document are <span>affected by a base URL
change</span>.</p>

<p>When an element is moved from one document to another, if the two
documents have different <a href=#document-base-url title="document base URL">base
URLs</a>, then that element and all its descendants are
<a href=#affected-by-a-base-url-change>affected by a base URL change</a>.</p>

<p>When an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn>, it
must act as described in the following list:</p>
<p>The following are <span>base URL change steps</span>, which run
when an element is <span>affected by a base URL change</span> (as
defined by the DOM Core specification):</p>

<dl class=switch><dt>If the element creates a <a href=#hyperlink>hyperlink</a></dt>

Expand Down
17 changes: 7 additions & 10 deletions index
Expand Up @@ -3694,6 +3694,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<li>The distinction between <dfn id=xml-documents>XML documents</dfn> and <dfn id=html-documents>HTML documents</dfn></li>
<li>The terms <dfn id=quirks-mode>quirks mode</dfn>, <dfn id=limited-quirks-mode>limited-quirks mode</dfn>, and <dfn id=no-quirks-mode>no-quirks mode</dfn></li>
<li>The algorithm to <dfn id=concept-node-clone title=concept-node-clone>clone</dfn> a <code><a href=#node>Node</a></code>, and the concept of <dfn id=concept-node-clone-ext title=concept-node-clone-ext>cloning steps</dfn> used by tat algorithm</li>
<li>The concept of <span>base URL change steps</span> and the definition of what happens when an element is <span>affected by a base URL change</span>.</li>

</ul><p>The following <code><a href=#domexception>DOMException</a></code> codes are defined in
the DOM Core specification: <a href=#refsDOMCORE>[DOMCORE]</a></p>
Expand Down Expand Up @@ -6954,19 +6955,15 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<p>When an <code title=attr-xml-base><a href=#the-xml:base-attribute-(xml-only)>xml:base</a></code> attribute
changes, the attribute's element, and all descendant elements, are
<a href=#affected-by-a-base-url-change>affected by a base URL change</a>.</p>
<span>affected by a base URL change</span>.</p>

<p>When a document's <a href=#document-base-url>document base URL</a> changes, all
elements in that document are <a href=#affected-by-a-base-url-change>affected by a base URL
change</a>.</p>
elements in that document are <span>affected by a base URL
change</span>.</p>

<p>When an element is moved from one document to another, if the two
documents have different <a href=#document-base-url title="document base URL">base
URLs</a>, then that element and all its descendants are
<a href=#affected-by-a-base-url-change>affected by a base URL change</a>.</p>

<p>When an element is <dfn id=affected-by-a-base-url-change>affected by a base URL change</dfn>, it
must act as described in the following list:</p>
<p>The following are <span>base URL change steps</span>, which run
when an element is <span>affected by a base URL change</span> (as
defined by the DOM Core specification):</p>

<dl class=switch><dt>If the element creates a <a href=#hyperlink>hyperlink</a></dt>

Expand Down
11 changes: 4 additions & 7 deletions source
Expand Up @@ -2696,6 +2696,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<li>The distinction between <dfn>XML documents</dfn> and <dfn>HTML documents</dfn></li>
<li>The terms <dfn>quirks mode</dfn>, <dfn>limited-quirks mode</dfn>, and <dfn>no-quirks mode</dfn></li>
<li>The algorithm to <dfn title="concept-node-clone">clone</dfn> a <code>Node</code>, and the concept of <dfn title="concept-node-clone-ext">cloning steps</dfn> used by tat algorithm</li>
<li>The concept of <span>base URL change steps</span> and the definition of what happens when an element is <span>affected by a base URL change</span>.</li>

</ul>

Expand Down Expand Up @@ -6761,13 +6762,9 @@ is conforming depends on which specs apply, and leaves it at that. -->
elements in that document are <span>affected by a base URL
change</span>.</p>

<p>When an element is moved from one document to another, if the two
documents have different <span title="document base URL">base
URLs</span>, then that element and all its descendants are
<span>affected by a base URL change</span>.</p>

<p>When an element is <dfn>affected by a base URL change</dfn>, it
must act as described in the following list:</p>
<p>The following are <span>base URL change steps</span>, which run
when an element is <span>affected by a base URL change</span> (as
defined by the DOM Core specification):</p>

<dl class="switch">

Expand Down

0 comments on commit 0785283

Please sign in to comment.