hixie: Make target=_self override the seamless attribute's navigation mechanism. (whatwg r5275)

hixie: Make target=_self override the seamless attribute's navigation
mechanism. (whatwg r5275)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4203&r2=1.4204&f=h
http://html5.org/tools/web-apps-tracker?from=5274&to=5275

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4203
retrieving revision 1.4204
diff -u -d -r1.4203 -r1.4204
--- Overview.html 10 Aug 2010 21:47:32 -0000 1.4203
+++ Overview.html 10 Aug 2010 22:24:23 -0000 1.4204
@@ -18907,10 +18907,11 @@
   <code><a href="#the-iframe-element">iframe</a></code> element's document, the following requirements
   apply:</span><div class="impl">
 
-  <ul><li><p>The user agent must set the <dfn id="seamless-browsing-context-flag">seamless browsing
-   context flag</dfn> to true for that <a href="#browsing-context">browsing
-   context</a>. This will <a href="#seamlessLinks">cause links to
-   open in the parent browsing context</a>.</li>
+  <ul><li><p>The user agent must set the <dfn id="seamless-browsing-context-flag">seamless browsing context
+   flag</dfn> to true for that <a href="#browsing-context">browsing context</a>. This
+   will <a href="#seamlessLinks">cause links to open in the parent
+   browsing context</a> unless an <a href="#explicit-self-navigation-override">explicit self-navigation
+   override</a> is used (<code title="">target="_self"</code>).</li>
 
    <li><p>In a CSS-supporting user agent: the user agent must add all
    the style sheets that apply to the <code><a href="#the-iframe-element">iframe</a></code> element to
@@ -41010,7 +41011,10 @@
 
   <ol><li><p>If the given browsing context name is the empty string or
    <code title="">_self</code>, then the chosen browsing context must
-   be the current one.</li>
+   be the current one. This is an <dfn id="explicit-self-navigation-override">explicit self-navigation
+   override</dfn>, which overrides the behavior of the <a href="#seamless-browsing-context-flag">seamless
+   browsing context flag</a> set by the <code title="attr-iframe-seamless"><a href="#attr-iframe-seamless">seamless</a></code> attribute on
+   <code><a href="#the-iframe-element">iframe</a></code> elements.</li>
 
    <li><p>If the given browsing context name is <code title="">_parent</code>, then the chosen browsing context must be
    the <a href="#parent-browsing-context"><em>parent</em> browsing context</a> of the current
@@ -41034,6 +41038,10 @@
     arbitrary consistent manner, such as the most recently opened,
     most recently focused, or more closely related.</p>
 
+    <p>If the browsing context is chosen by this step to be the
+    current browsing context, then this is also an <a href="#explicit-self-navigation-override">explicit
+    self-navigation override</a>.</p>
+
    </li>
 
    <li>
@@ -41111,7 +41119,7 @@
   readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-window" title="dom-window">window</a>;
   readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-self" title="dom-self">self</a>;
   readonly attribute <a href="#document">Document</a> <a href="#dom-document" title="dom-document">document</a>;
-           attribute DOMString <a href="#dom-name" title="dom-name">name</a>;
+           attribute DOMString <a href="#dom-name" title="dom-name">name</a>; <!-- not [Replaceable] per WebKit and IE8 -->
   [PutForwards=<a href="#dom-location-href" title="dom-location-href">href</a>] readonly attribute <a href="#location">Location</a> <a href="#dom-location" title="dom-location">location</a>;
   readonly attribute <a href="#history-0">History</a> <a href="#dom-history" title="dom-history">history</a>;
   readonly attribute <a href="#undomanager">UndoManager</a> <a href="#dom-undomanager" title="dom-undoManager">undoManager</a>;
@@ -43011,12 +43019,13 @@
    <li id="seamlessLinks"><p>If the <a href="#source-browsing-context">source browsing
    context</a> is the same as the <a href="#browsing-context">browsing context</a>
    being navigated, and this browsing context has its <a href="#seamless-browsing-context-flag">seamless
-   browsing context flag</a> set, then find the nearest
-   <a href="#ancestor-browsing-context">ancestor browsing context</a> that does not have its
-   <a href="#seamless-browsing-context-flag">seamless browsing context flag</a> set, and continue these
-   steps as if <em>that</em> <a href="#browsing-context">browsing context</a> was the one
-   that was going to be <a href="#navigate" title="navigate">navigated</a>
-   instead.</li>
+   browsing context flag</a> set, and the <a href="#browsing-context">browsing
+   context</a> being navigated was not chosen using an
+   <a href="#explicit-self-navigation-override">explicit self-navigation override</a>, then find the
+   nearest <a href="#ancestor-browsing-context">ancestor browsing context</a> that does not have
+   its <a href="#seamless-browsing-context-flag">seamless browsing context flag</a> set, and continue
+   these steps as if <em>that</em> <a href="#browsing-context">browsing context</a> was
+   the one that was going to be <a href="#navigate" title="navigate">navigated</a> instead.</li>
 
    <li><p>If there is a preexisting attempt to navigate the
    <a href="#browsing-context">browsing context</a>, and the <a href="#source-browsing-context">source browsing

Received on Tuesday, 10 August 2010 22:25:14 UTC