[html5] r5275 - [giow] (1) Make target=_self override the seamless attribute's navigation mechanism.

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 10 15:24:20 PDT 2010


Author: ianh
Date: 2010-08-10 15:24:19 -0700 (Tue, 10 Aug 2010)
New Revision: 5275

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Make target=_self override the seamless attribute's navigation mechanism.

Modified: complete.html
===================================================================
--- complete.html	2010-08-10 21:47:28 UTC (rev 5274)
+++ complete.html	2010-08-10 22:24:19 UTC (rev 5275)
@@ -22011,10 +22011,11 @@
 
   <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
@@ -57804,7 +57805,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
@@ -57828,6 +57832,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>
@@ -57912,7 +57920,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>;
@@ -59965,12 +59973,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

Modified: index
===================================================================
--- index	2010-08-10 21:47:28 UTC (rev 5274)
+++ index	2010-08-10 22:24:19 UTC (rev 5275)
@@ -21938,10 +21938,11 @@
 
   <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
@@ -57731,7 +57732,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
@@ -57755,6 +57759,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>
@@ -57839,7 +57847,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>;
@@ -59892,12 +59900,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

Modified: source
===================================================================
--- source	2010-08-10 21:47:28 UTC (rev 5274)
+++ source	2010-08-10 22:24:19 UTC (rev 5275)
@@ -23472,10 +23472,12 @@
 
   <ul>
 
-   <li><p>The user agent must set the <dfn>seamless browsing
-   context flag</dfn> to true for that <span>browsing
-   context</span>. This will <a href="#seamlessLinks">cause links to
-   open in the parent browsing context</a>.</p></li>
+   <li><p>The user agent must set the <dfn>seamless browsing context
+   flag</dfn> to true for that <span>browsing context</span>. This
+   will <a href="#seamlessLinks">cause links to open in the parent
+   browsing context</a> unless an <span>explicit self-navigation
+   override</span> is used (<code
+   title="">target="_self"</code>).</p></li>
 
    <li><p>In a CSS-supporting user agent: the user agent must add all
    the style sheets that apply to the <code>iframe</code> element to
@@ -65254,7 +65256,11 @@
 
    <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.</p></li>
+   be the current one. This is an <dfn>explicit self-navigation
+   override</dfn>, which overrides the behavior of the <span>seamless
+   browsing context flag</span> set by the <code
+   title="attr-iframe-seamless">seamless</code> attribute on
+   <code>iframe</code> elements.</p></li>
 
    <li><p>If the given browsing context name is <code
    title="">_parent</code>, then the chosen browsing context must be
@@ -65281,6 +65287,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 <span>explicit
+    self-navigation override</span>.</p>
+
    </li>
 
    <li>
@@ -65377,7 +65387,7 @@
   readonly attribute <span>WindowProxy</span> <span title="dom-window">window</span>;
   readonly attribute <span>WindowProxy</span> <span title="dom-self">self</span>;
   readonly attribute <span>Document</span> <span title="dom-document">document</span>;
-           attribute DOMString <span title="dom-name">name</span>;
+           attribute DOMString <span title="dom-name">name</span>; <!-- not [Replaceable] per WebKit and IE8 -->
   [PutForwards=<span title="dom-location-href">href</span>] readonly attribute <span>Location</span> <span title="dom-location">location</span>;
   readonly attribute <span>History</span> <span title="dom-history">history</span>;
   readonly attribute <span>UndoManager</span> <span title="dom-undoManager">undoManager</span>;
@@ -67713,12 +67723,14 @@
    <li id="seamlessLinks"><p>If the <span>source browsing
    context</span> is the same as the <span>browsing context</span>
    being navigated, and this browsing context has its <span>seamless
-   browsing context flag</span> set, then find the nearest
-   <span>ancestor browsing context</span> that does not have its
-   <span>seamless browsing context flag</span> set, and continue these
-   steps as if <em>that</em> <span>browsing context</span> was the one
-   that was going to be <span title="navigate">navigated</span>
-   instead.</p></li>
+   browsing context flag</span> set, and the <span>browsing
+   context</span> being navigated was not chosen using an
+   <span>explicit self-navigation override</span>, then find the
+   nearest <span>ancestor browsing context</span> that does not have
+   its <span>seamless browsing context flag</span> set, and continue
+   these steps as if <em>that</em> <span>browsing context</span> was
+   the one that was going to be <span
+   title="navigate">navigated</span> instead.</p></li>
 
    <li><p>If there is a preexisting attempt to navigate the
    <span>browsing context</span>, and the <span>source browsing




More information about the Commit-Watchers mailing list