Skip to content

Commit

Permalink
[e] (0) xref typos
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1820 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 27, 2008
1 parent 89fe89a commit 866523a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
22 changes: 12 additions & 10 deletions index
Expand Up @@ -2913,21 +2913,22 @@ you're allowed to do that, in the absence of a DOM Core update)
<li>
<p>If there is no <code><a href="#base">base</a></code> element that is
both a child of <a href="#the-head0">the <code>head</code> element</a>
and has an <code title=att-base-href>href</code> attribute, then the <a
href="#document0">document base URL</a> is <span>the document's
address</span><!-- XXXDOCURL -->.
and has an <code title=attr-base-href><a href="#href">href</a></code>
attribute, then the <a href="#document0">document base URL</a> is
<span>the document's address</span><!-- XXXDOCURL -->.

<li>
<p>Otherwise, let <var title="">url</var> be the value of the <code
title=att-base-href>href</code> attribute of the first such element.
title=attr-base-href><a href="#href">href</a></code> attribute of the
first such element.

<li>
<p><a href="#resolve" title="resolve a URL">Resolve</a> the <var
title="">url</var> URL, using <span>the document's
address</span><!-- XXXDOCURL --> as the <a href="#base-">base URL</a>
(thus, the <code><a href="#base">base</a></code> <code
title=att-base-href>href</code> attribute isn't affect by <code
title="">xml:base</code> attributes).
title=attr-base-href><a href="#href">href</a></code> attribute isn't
affect by <code title="">xml:base</code> attributes).

<li>
<p>The <a href="#document0">document base URL</a> is the result of the
Expand Down Expand Up @@ -8770,8 +8771,8 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
isn't affected by <code><a href="#base">base</a></code> elements).

<p class=note>If there are multiple <code><a href="#base">base</a></code>
elements with <code title=att-base-href>href</code> attributes, all but
the first are ignored.
elements with <code title=attr-base-href><a href="#href">href</a></code>
attributes, all but the first are ignored.

<p>The <dfn id=target title=attr-base-target><code>target</code></dfn>
attribute, if specified, must contain a <a href="#valid10">valid browsing
Expand All @@ -8784,8 +8785,9 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
title=hyperlink>hyperlinks</a>.

<p class=note>If there are multiple <code><a href="#base">base</a></code>
elements with <code title=att-base-target>target</code> attributes, all
but the first are ignored.
elements with <code title=attr-base-target><a
href="#target">target</a></code> attributes, all but the first are
ignored.

<p>The <dfn id=href0 title=dom-base-href><code>href</code></dfn> and <dfn
id=target0 title=dom-base-target><code>target</code></dfn> DOM attributes
Expand Down
10 changes: 5 additions & 5 deletions source
Expand Up @@ -1178,19 +1178,19 @@ you're allowed to do that, in the absence of a DOM Core update)

<li><p>If there is no <code>base</code> element that is both a
child of <span>the <code>head</code> element</span> and has an
<code title="att-base-href">href</code> attribute, then the
<code title="attr-base-href">href</code> attribute, then the
<span>document base URL</span> is <span>the document's
address</span><!-- XXXDOCURL -->.</p></li>

<li><p>Otherwise, let <var title="">url</var> be the value of the
<code title="att-base-href">href</code> attribute of the first such
<code title="attr-base-href">href</code> attribute of the first such
element.</p></li>

<li><p><span title="resolve a URL">Resolve</span> the <var
title="">url</var> URL, using <span>the document's
address</span><!-- XXXDOCURL --> as the <span>base URL</span>
(thus, the <code>base</code> <code
title="att-base-href">href</code> attribute isn't affect by <code
title="attr-base-href">href</code> attribute isn't affect by <code
title="">xml:base</code> attributes).</p></li>

<li><p>The <span>document base URL</span> is the result of the
Expand Down Expand Up @@ -7043,7 +7043,7 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
isn't affected by <code>base</code> elements).</p>

<p class="note">If there are multiple <code>base</code> elements
with <code title="att-base-href">href</code> attributes, all but the
with <code title="attr-base-href">href</code> attributes, all but the
first are ignored.</p>

<p>The <dfn title="attr-base-target"><code>target</code></dfn>
Expand All @@ -7057,7 +7057,7 @@ data:text/xml,<script xmlns="http://www.w3.org/1999/xhtml"><![CDATA[ alert('test
title="hyperlink">hyperlinks</span>.</p>

<p class="note">If there are multiple <code>base</code> elements
with <code title="att-base-target">target</code> attributes, all but
with <code title="attr-base-target">target</code> attributes, all but
the first are ignored.</p>

<p>The <dfn title="dom-base-href"><code>href</code></dfn> and <dfn
Expand Down

0 comments on commit 866523a

Please sign in to comment.