hixie: Make <base> take effect everywhere, not just as a child of <head>. (whatwg r5711)

hixie: Make <base> take effect everywhere, not just as a child of
<head>. (whatwg r5711)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4575&r2=1.4576&f=h
http://html5.org/tools/web-apps-tracker?from=5710&to=5711

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4575
retrieving revision 1.4576
diff -u -d -r1.4575 -r1.4576
--- Overview.html 7 Dec 2010 23:48:55 -0000 1.4575
+++ Overview.html 8 Dec 2010 00:22:07 -0000 1.4576
@@ -5270,15 +5270,11 @@
      context</a>'s <a href="#browsing-context-container">browsing context container</a>'s
      <code><a href="#document">Document</a></code> instead.</li>
 
-     <li><p>If there is no <code><a href="#the-base-element">base</a></code> element that is both a
-     child of <a href="#the-head-element">the <code>head</code> element</a> and has an
-     <code title="attr-base-href"><a href="#attr-base-href">href</a></code> attribute, then the
+     <li><p>If there is no <code><a href="#the-base-element">base</a></code> element that has an <code title="attr-base-href"><a href="#attr-base-href">href</a></code> attribute, then the
      <a href="#document-base-url">document base URL</a> is <var title="">fallback base
-     url</var>.</li>
-
-     <li><p>Otherwise, let <var title="">url</var> be the value of the
-     <code title="attr-base-href"><a href="#attr-base-href">href</a></code> attribute of the first
-     such element.</li>
+     url</var>. Otherwise, let <var title="">url</var> be the value of
+     the <code title="attr-base-href"><a href="#attr-base-href">href</a></code> attribute of the
+     first such element.</li>
 
      <li><p><a href="#resolve-a-url" title="resolve a URL">Resolve</a> <var title="">url</var> relative to <var title="">fallback base
      url</var> (thus, the <code><a href="#the-base-element">base</a></code> <code title="attr-base-href"><a href="#attr-base-href">href</a></code> attribute isn't affected by
@@ -37007,11 +37003,11 @@
   element is a <a href="#concept-submit-button" title="concept-submit-button">submit
   button</a> and has such an attribute; or the value of its
   <a href="#form-owner">form owner</a>'s <code title="attr-fs-target"><a href="#attr-fs-target">target</a></code>
-  attribute, if <em>it</em> has such an attribute; or, if one of the
-  child nodes of <a href="#the-head-element">the <code>head</code> element</a> is a
-  <code><a href="#the-base-element">base</a></code> element with a <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, then the value of
-  the <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute of the
-  first such <code><a href="#the-base-element">base</a></code> element; or, if there is no such
+  attribute, if <em>it</em> has such an attribute; or, if the
+  <code><a href="#document">Document</a></code> contains a <code><a href="#the-base-element">base</a></code> element with a
+  <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, then the
+  value of the <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute
+  of the first such <code><a href="#the-base-element">base</a></code> element; or, if there is no such
   element, the empty string.</p><!-- c.f. hyperlink following --><hr><p>The <dfn id="attr-fs-novalidate" title="attr-fs-novalidate"><code>novalidate</code></dfn>
   and <dfn id="attr-fs-formnovalidate" title="attr-fs-formnovalidate"><code>formnovalidate</code></dfn>
   content attributes are <a href="#boolean-attribute" title="boolean attribute">boolean
@@ -39707,15 +39703,16 @@
   as the browsing context to be navigated.</p>
 
   <p>Otherwise, if the element is an <code><a href="#the-a-element">a</a></code> or
-  <code><a href="#the-area-element">area</a></code> element with no <code title="attr-hyperlink-target"><a href="#attr-hyperlink-target">target</a></code> attribute, but one of
-  the child nodes of <a href="#the-head-element">the <code>head</code> element</a> is a
-  <code><a href="#the-base-element">base</a></code> element with a <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, then the browsing
-  context that is navigated must be chosen by applying <a href="#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name">the rules
-  for choosing a browsing context given a browsing context
-  name</a>, using the value of the <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute of the first such
+  <code><a href="#the-area-element">area</a></code> element with no <code title="attr-hyperlink-target"><a href="#attr-hyperlink-target">target</a></code> attribute, but the
+  <code><a href="#document">Document</a></code> contains a <code><a href="#the-base-element">base</a></code> element with a
+  <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, then the
+  browsing context that is navigated must be chosen by applying
+  <a href="#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name">the rules for choosing a browsing context given a browsing
+  context name</a>, using the value of the <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute of the first such
   <code><a href="#the-base-element">base</a></code> element as the browsing context name. If these
   rules result in the creation of a new <a href="#browsing-context">browsing context</a>,
   it must be navigated with <a href="#replacement-enabled">replacement enabled</a>.</p>
+  <!-- c.f. concept-fs-target -->
 
   <p>Otherwise, the browsing context that must be navigated is the
   same browsing context as the one which the element itself is in.</p>

Received on Wednesday, 8 December 2010 00:24:13 UTC