- From: poot <cvsmail@w3.org>
- Date: Tue, 30 Nov 2010 07:58:56 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Add DONAV markers wherever navigation happens, to make updating those cases easier. (whatwg r5683) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4550&r2=1.4551&f=h http://html5.org/tools/web-apps-tracker?from=5682&to=5683 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4550 retrieving revision 1.4551 diff -u -d -r1.4550 -r1.4551 --- Overview.html 16 Nov 2010 00:21:34 -0000 1.4550 +++ Overview.html 29 Nov 2010 22:56:46 -0000 1.4551 @@ -12017,17 +12017,15 @@ <code><a href="#meta">meta</a></code> element's <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a> did not have the <a href="#sandboxed-automatic-features-browsing-context-flag">sandboxed automatic features browsing context flag</a> set when the - <code><a href="#document">Document</a></code> was created, the user agent <a href="#navigate" title="navigate">navigates</a> the <code><a href="#document">Document</a></code>'s - <a href="#browsing-context">browsing context</a> to <var title="">url</var>, with - <a href="#replacement-enabled">replacement enabled</a>, and with the - <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a> as the - <a href="#source-browsing-context">source browsing context</a>.</li> + <code><a href="#document">Document</a></code> was created, the user agent <a href="#navigate" title="navigate">navigates</a><!--DONAV meta refresh--> the + <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a> to <var title="">url</var>, with <a href="#replacement-enabled">replacement enabled</a>, and + with the <code><a href="#document">Document</a></code>'s <a href="#browsing-context">browsing context</a> + as the <a href="#source-browsing-context">source browsing context</a>.</li> <li><p>Provide the user with an interface that, when selected, - <a href="#navigate" title="navigate">navigates</a> a <a href="#browsing-context">browsing - context</a> to <var title="">url</var>, with the document's - browsing context as the <a href="#source-browsing-context">source browsing - context</a>.</li> + <a href="#navigate" title="navigate">navigates</a><!--DONAV meta + refresh--> a <a href="#browsing-context">browsing context</a> to <var title="">url</var>, with the document's browsing context as the + <a href="#source-browsing-context">source browsing context</a>.</li> <li><p>Do nothing.</li> @@ -19331,12 +19329,14 @@ <dl class="switch"><dt>If the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute is specified</dt> - <dd><p><a href="#navigate">Navigate</a> the element's <a href="#browsing-context">browsing - context</a> to a resource whose <a href="#content-type">Content-Type</a> is - <code><a href="#text-html">text/html</a></code>, whose <a href="#url">URL</a> is - <code><a href="#about:srcdoc">about:srcdoc</a></code>, and whose data consists of the value of - the attribute. The resulting <code><a href="#document">Document</a></code> must be - considered <a href="#an-iframe-srcdoc-document">an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</a>.</dd> + <dd><p><a href="#navigate">Navigate</a><!--DONAV iframe--> the element's + <a href="#browsing-context">browsing context</a> to a resource whose + <a href="#content-type">Content-Type</a> is <code><a href="#text-html">text/html</a></code>, whose + <a href="#url">URL</a> is <code><a href="#about:srcdoc">about:srcdoc</a></code>, and whose data + consists of the value of the attribute. The resulting + <code><a href="#document">Document</a></code> must be considered <a href="#an-iframe-srcdoc-document">an + <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> + document</a>.</dd> <dt>If the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute is specified but the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute is not</dt> @@ -19360,8 +19360,8 @@ first time, <code><a href="#about:blank">about:blank</a></code> is loaded normally.)</li> - <li><p><a href="#navigate">Navigate</a> the element's <a href="#browsing-context">browsing - context</a> to the resulting <a href="#absolute-url">absolute + <li><p><a href="#navigate">Navigate</a><!--DONAV iframe--> the element's + <a href="#browsing-context">browsing context</a> to the resulting <a href="#absolute-url">absolute URL</a>.</li> </ol><p><i>Empty</i>: When the steps above require the user agent to @@ -20704,12 +20704,12 @@ <p>If the <a href="#url">URL</a> of the given resource is not <code><a href="#about:blank">about:blank</a></code>, the element's <a href="#nested-browsing-context">nested browsing - context</a> must then be <a href="#navigate" title="navigate">navigated</a> to that resource, with - <a href="#replacement-enabled">replacement enabled</a>, and with the + context</a> must then be <a href="#navigate" title="navigate">navigated</a><!--DONAV object--> to that + resource, with <a href="#replacement-enabled">replacement enabled</a>, and with the <code><a href="#the-object-element">object</a></code> element's document's <a href="#browsing-context">browsing - context</a> as the <a href="#source-browsing-context">source browsing - context</a>. (The <code title="attr-object-data"><a href="#attr-object-data">data</a></code> attribute of the - <code><a href="#the-object-element">object</a></code> element doesn't get updated if the + context</a> as the <a href="#source-browsing-context">source browsing context</a>. + (The <code title="attr-object-data"><a href="#attr-object-data">data</a></code> attribute of + the <code><a href="#the-object-element">object</a></code> element doesn't get updated if the browsing context gets further navigated to other locations.)</p> @@ -38186,10 +38186,11 @@ <p>Let <var title="">target browsing context</var> be <a href="#the-form-submission-target-browsing-context">the form submission target browsing context</a>.</p> - <p><a href="#navigate">Navigate</a> <var title="">target browsing - context</var> to <var title="">destination</var>. If <var title="">target browsing context</var> was newly created for - this purpose by the steps above, then it must be navigated with - <a href="#replacement-enabled">replacement enabled</a>.</p> + <p><a href="#navigate">Navigate</a><!--DONAV form--> <var title="">target + browsing context</var> to <var title="">destination</var>. If + <var title="">target browsing context</var> was newly created + for this purpose by the steps above, then it must be navigated + with <a href="#replacement-enabled">replacement enabled</a>.</p> </dd> @@ -38218,18 +38219,17 @@ <dd>Let <var title="">MIME type</var> be "<code title="">text/plain</code>".</dd> - </dl><p>If <var title="">method</var> is anything but <!--GET or--> - POST, and the <a href="#origin">origin</a> of <var title="">action</var> - is not the <a href="#same-origin">same origin</a> as that of the - <code><a href="#the-form-element">form</a></code> element's <code><a href="#document">Document</a></code>, then abort - these steps.</p> <!-- CORS, one day --> - - <p>Otherwise, <a href="#navigate">navigate</a> <var title="">target - browsing context</var> to <var title="">action</var> using the - HTTP method given by <var title="">method</var> and with <var title="">entity body</var> as the entity body, of type <var title="">MIME type</var>. If <var title="">target browsing - context</var> was newly created for this purpose by the steps - above, then it must be navigated with <a href="#replacement-enabled">replacement - enabled</a>.</p> + </dl><!--<p>If <var title="">method</var> is anything but (GET or) + POST, and the <span>origin</span> of <var title="">action</var> + is not the <span>same origin</span> as that of the + <code>form</code> element's <code>Document</code>, then abort + these steps.</p> [or do CORS] (this is commented out since only + POST can trigger this now, and that's historically + unrestricted)--><p>Otherwise, <a href="#navigate">navigate</a><!--DONAV form--> <var title="">target browsing context</var> to <var title="">action</var> using the HTTP method given by <var title="">method</var> and with <var title="">entity body</var> + as the entity body, of type <var title="">MIME type</var>. If + <var title="">target browsing context</var> was newly created + for this purpose by the steps above, then it must be navigated + with <a href="#replacement-enabled">replacement enabled</a>.</p> </dd> @@ -38239,8 +38239,8 @@ <p>Let <var title="">target browsing context</var> be <a href="#the-form-submission-target-browsing-context">the form submission target browsing context</a>.</p> - <p><a href="#navigate">Navigate</a> <var title="">target browsing - context</var> to <var title="">action</var>. If <var title="">target browsing context</var> was newly created for + <p><a href="#navigate">Navigate</a><!--DONAV form--> <var title="">target + browsing context</var> to <var title="">action</var>. If <var title="">target browsing context</var> was newly created for this purpose by the steps above, then it must be navigated with <a href="#replacement-enabled">replacement enabled</a>.</p> @@ -38272,8 +38272,8 @@ <p>Let <var title="">target browsing context</var> be <a href="#the-form-submission-target-browsing-context">the form submission target browsing context</a>.</p> - <p><a href="#navigate">Navigate</a> <var title="">target browsing - context</var> to the potentially modified <var title="">action</var>. If <var title="">target browsing + <p><a href="#navigate">Navigate</a><!--DONAV form--> <var title="">target + browsing context</var> to the potentially modified <var title="">action</var>. If <var title="">target browsing context</var> was newly created for this purpose by the steps above, then it must be navigated with <a href="#replacement-enabled">replacement enabled</a>.</p> @@ -38302,10 +38302,11 @@ <p>Let <var title="">target browsing context</var> be <a href="#the-form-submission-target-browsing-context">the form submission target browsing context</a>.</p> - <p><a href="#navigate">Navigate</a> <var title="">target browsing - context</var> to <var title="">destination</var>. If <var title="">target browsing context</var> was newly created for - this purpose by the steps above, then it must be navigated with - <a href="#replacement-enabled">replacement enabled</a>.</p> + <p><a href="#navigate">Navigate</a><!--DONAV form--> <var title="">target + browsing context</var> to <var title="">destination</var>. If + <var title="">target browsing context</var> was newly created + for this purpose by the steps above, then it must be navigated + with <a href="#replacement-enabled">replacement enabled</a>.</p> </dd> @@ -38335,10 +38336,11 @@ <p>Let <var title="">target browsing context</var> be <a href="#the-form-submission-target-browsing-context">the form submission target browsing context</a>.</p> - <p><a href="#navigate">Navigate</a> <var title="">target browsing - context</var> to <var title="">destination</var>. If <var title="">target browsing context</var> was newly created for - this purpose by the steps above, then it must be navigated with - <a href="#replacement-enabled">replacement enabled</a>.</p> + <p><a href="#navigate">Navigate</a><!--DONAV form--> <var title="">target + browsing context</var> to <var title="">destination</var>. If + <var title="">target browsing context</var> was newly created + for this purpose by the steps above, then it must be navigated + with <a href="#replacement-enabled">replacement enabled</a>.</p> </dd> @@ -39949,16 +39951,17 @@ the user agent must <a href="#resolve-a-url" title="resolve a url">resolve</a> the <a href="#url">URL</a> given by the <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute of that element, relative to that element, and if that is successful, must - <a href="#navigate">navigate</a> a <a href="#browsing-context">browsing context</a> to the - resulting <a href="#absolute-url">absolute URL</a>. In the case of server-side - image maps, that <a href="#absolute-url">absolute URL</a> must have its - <var><a href="#hyperlink-suffix">hyperlink suffix</a></var> appended to it before the navigation is - started.</p> + <a href="#navigate">navigate</a><!--DONAV hyperlink--> a <a href="#browsing-context">browsing + context</a> to the resulting <a href="#absolute-url">absolute URL</a>. In the + case of server-side image maps, that <a href="#absolute-url">absolute URL</a> must + have its <var><a href="#hyperlink-suffix">hyperlink suffix</a></var> appended to it before the + navigation is started.</p> <p>If <a href="#resolve-a-url" title="resolve a url">resolving</a> the <a href="#url">URL</a> fails, the user agent may report the error to the - user in a user-agent-specific manner, may navigate to an error page - to report the error, or may ignore the error and do nothing.</p> + user in a user-agent-specific manner, may + <a href="#navigate">navigate</a><!--DONAV hyperlink--> to an error page to + report the error, or may ignore the error and do nothing.</p> <p>If the user indicated a specific <a href="#browsing-context">browsing context</a> when following the hyperlink, or if the user agent is configured to @@ -41924,9 +41927,8 @@ no name). The chosen browsing context must be this new browsing context.</p> - <p>If it is immediately <a href="#navigate" title="navigate">navigated</a>, - then the navigation will be done with <a href="#replacement-enabled">replacement - enabled</a>.</dd> + <p class="note">If it is immediately <a href="#navigate" title="navigate">navigated</a>, then the navigation will be + done with <a href="#replacement-enabled">replacement enabled</a>.</dd> <dt>If the user agent has been configured such that in this @@ -42256,15 +42258,14 @@ agent could override the selection of the target browsing context to instead target a new tab.</p> - <p>Then, the user agent must <a href="#navigate">navigate</a> the selected - <a href="#browsing-context">browsing context</a> to the <a href="#absolute-url">absolute URL</a> (or - error) obtained from <a href="#resolve-a-url" title="resolve a url">resolving</a> - <var title="">url</var> earlier. If the <var title="">replace</var> - is true, then <a href="#replacement-enabled" title="replacement enabled">replacement must be - enabled</a>; otherwise, it must not be enabled unless the - <a href="#browsing-context">browsing context</a> was just created as part of - <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>. The navigation must be done with the <a href="#script-s-browsing-context" title="script's browsing context">browsing context</a> of the + <p>Then, the user agent must <a href="#navigate">navigate</a><!--DONAV + window.open()--> the selected <a href="#browsing-context">browsing context</a> to the + <a href="#absolute-url">absolute URL</a> (or error) obtained from <a href="#resolve-a-url" title="resolve a url">resolving</a> <var title="">url</var> + earlier. If the <var title="">replace</var> is true or if the + <a href="#browsing-context">browsing context</a> was just created as part of <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>, then <a href="#replacement-enabled" title="replacement enabled">replacement must + be enabled</a>. The navigation must be done with the <a href="#script-s-browsing-context" title="script's browsing context">browsing context</a> of the <a href="#entry-script">entry script</a> as the <a href="#source-browsing-context">source browsing context</a>.</p> @@ -43681,22 +43682,23 @@ <p>When the <dfn id="dom-location-assign" title="dom-location-assign"><code>assign(<var title="">url</var>)</code></dfn> method is invoked, the UA must <a href="#resolve-a-url" title="resolve a url">resolve</a> the argument, relative to the <a href="#entry-script">entry script</a>'s <a href="#script-s-base-url" title="script's base URL">base - URL</a>, and if that is successful, must <a href="#navigate">navigate</a> - the <a href="#browsing-context">browsing context</a> to the specified <var title="">url</var>. If the <a href="#browsing-context">browsing context</a>'s + URL</a>, and if that is successful, must + <a href="#navigate">navigate</a><!--DONAV location.href/assign--> the + <a href="#browsing-context">browsing context</a> to the specified <var title="">url</var>. If the <a href="#browsing-context">browsing context</a>'s <a href="#session-history">session history</a> contains only one <code><a href="#document">Document</a></code>, and that was the <code><a href="#about:blank">about:blank</a></code> <code><a href="#document">Document</a></code> created when the <a href="#browsing-context">browsing context</a> - was created, then the navigation must be done with - <a href="#replacement-enabled">replacement enabled</a>.</p> <!-- READ ME WHEN EDITING - THIS: IE and Firefox only seem to treat it that way if the DOM is - still a virgin DOM; Safari doesn't check that. Thus this might need - changing if testing shows the IE/Firefox behaviour is required - here. --> + was created, then the navigation must be done with <a href="#replacement-enabled">replacement + enabled</a>.</p> <!-- READ ME WHEN EDITING THIS: IE and Firefox + only seem to treat it that way if the DOM is still a virgin DOM; + Safari doesn't check that. Thus this might need changing if testing + shows the IE/Firefox behaviour is required here. --> <p>When the <dfn id="dom-location-replace" title="dom-location-replace"><code>replace(<var title="">url</var>)</code></dfn> method is invoked, the UA must <a href="#resolve-a-url" title="resolve a url">resolve</a> the argument, relative to the <a href="#entry-script">entry script</a>'s <a href="#script-s-base-url" title="script's base URL">base - URL</a>, and if that is successful, <a href="#navigate">navigate</a> the + URL</a>, and if that is successful, + <a href="#navigate">navigate</a><!--DONAV location.replace--> the <a href="#browsing-context">browsing context</a> to the specified <var title="">url</var> with <a href="#replacement-enabled">replacement enabled</a>.</p> <p>Navigation for the <code title="dom-location-assign"><a href="#dom-location-assign">assign()</a></code> and <code title="dom-location-replace"><a href="#dom-location-replace">replace()</a></code> methods must be done @@ -43729,24 +43731,25 @@ <dt>Otherwise</dt> - <dd><p><a href="#navigate">Navigate</a> the <a href="#browsing-context">browsing context</a> to - <a href="#the-document-s-current-address">the document's current address</a> with - <a href="#replacement-enabled">replacement enabled</a>. The <a href="#source-browsing-context">source browsing - context</a> must be the <a href="#browsing-context">browsing context</a> being - navigated.</dd> <!-- it appears that document.reload() always - uses GET and does not, e.g., re-POST. --> + <dd><p><a href="#navigate">Navigate</a><!--DONAV location.reload()--> the + <a href="#browsing-context">browsing context</a> to <a href="#the-document-s-current-address">the document's current + address</a> with <a href="#replacement-enabled">replacement enabled</a>. The + <a href="#source-browsing-context">source browsing context</a> must be the <a href="#browsing-context">browsing + context</a> being navigated.</dd> <!-- it appears that + document.reload() always uses GET and does not, e.g., re-POST. --> <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/141 --> </dl><p>When a user requests that the current page be reloaded through a - user interface element, the user agent should <a href="#navigate">navigate</a> - the <a href="#browsing-context">browsing context</a> to the same resource as - <code><a href="#document">Document</a></code>, with <a href="#replacement-enabled">replacement enabled</a>. In the - case of non-idempotent methods (e.g. HTTP POST), the user agent - should prompt the user to confirm the operation first, since - otherwise transactions (e.g. purchases or database modifications) - could be repeated. User agents may allow the user to explicitly - override any caches when reloading.</p> + user interface element, the user agent should + <a href="#navigate">navigate</a><!--DONAV user reload--> the <a href="#browsing-context">browsing + context</a> to the same resource as <code><a href="#document">Document</a></code>, with + <a href="#replacement-enabled">replacement enabled</a>. In the case of non-idempotent + methods (e.g. HTTP POST), the user agent should prompt the user to + confirm the operation first, since otherwise transactions (e.g. + purchases or database modifications) could be repeated. User agents + may allow the user to explicitly override any caches when + reloading.</p> </div><p>The <code><a href="#location">Location</a></code> interface also has the complement of <a href="#url-decomposition-idl-attributes">URL decomposition IDL attributes</a>, <dfn id="dom-location-protocol" title="dom-location-protocol"><code>protocol</code></dfn>, <dfn id="dom-location-host" title="dom-location-host"><code>host</code></dfn>, <dfn id="dom-location-port" title="dom-location-port"><code>port</code></dfn>, <dfn id="dom-location-hostname" title="dom-location-hostname"><code>hostname</code></dfn>, <dfn id="dom-location-pathname" title="dom-location-pathname"><code>pathname</code></dfn>, <dfn id="dom-location-search" title="dom-location-search"><code>search</code></dfn>, and <dfn id="dom-location-hash" title="dom-location-hash"><code>hash</code></dfn>. <span class="impl">These must follow the rules given for <a href="#url-decomposition-idl-attributes">URL @@ -43843,6 +43846,8 @@ in this specification.</p> <!-- NAVIGATE <dfn>navigate</dfn> --> + <!-- For places that _call_ this, as opposed to just referring to + it, search for "DONAV" --> <p>When a browsing context is <dfn id="navigate" title="navigate">navigated</dfn> to a new resource, the user agent must run the following steps:</p> @@ -43875,9 +43880,10 @@ the new resource in a new <a href="#top-level-browsing-context">top-level browsing context</a> or in the <a href="#top-level-browsing-context">top-level browsing context</a> of the <a href="#source-browsing-context">source browsing context</a>, at the user's option, in - which case the user agent must <a href="#navigate">navigate</a> that - designated <a href="#top-level-browsing-context">top-level browsing context</a> to the new - resource as if the user had requested it independently.</p> + which case the user agent must <a href="#navigate">navigate</a><!--DONAV + sandbox manual load--> that designated <a href="#top-level-browsing-context">top-level browsing + context</a> to the new resource as if the user had requested it + independently.</p> </li> @@ -44679,8 +44685,9 @@ page</a>.</p> <ol><li><p>If there is no longer a <code><a href="#document">Document</a></code> object for the - entry in question, the user agent must <a href="#navigate">navigate</a> the - browsing context to the location for that entry to perform an + entry in question, the user agent must + <a href="#navigate">navigate</a><!--DONAV history traversal after eviction--> + the browsing context to the location for that entry to perform an <a href="#entry-update">entry update</a> of that entry, and abort these steps. The "<a href="#navigate">navigate</a>" algorithm reinvokes this "traverse" algorithm to complete the traversal, at which point there @@ -48805,11 +48812,13 @@ <li> - <p><a href="#navigate">Navigate</a> the new <a href="#browsing-context">browsing context</a> to - the <a href="#absolute-url">absolute URL</a> that resulted from <a href="#resolve-a-url" title="resolve a url">resolving</a> <var title="">url</var> - earlier, with <a href="#replacement-enabled">replacement enabled</a>, and with the <a href="#script-s-browsing-context" title="script's browsing context">browsing context</a> of the - <a href="#concept-script" title="concept-script">script</a> that invoked the method - as the <a href="#source-browsing-context">source browsing context</a>.</p> + <p><a href="#navigate">Navigate</a><!--DONAV showModalDialog--> the new + <a href="#browsing-context">browsing context</a> to the <a href="#absolute-url">absolute URL</a> + that resulted from <a href="#resolve-a-url" title="resolve a url">resolving</a> + <var title="">url</var> earlier, with <a href="#replacement-enabled">replacement + enabled</a>, and with the <a href="#script-s-browsing-context" title="script's browsing + context">browsing context</a> of the <a href="#concept-script" title="concept-script">script</a> that invoked the method as + the <a href="#source-browsing-context">source browsing context</a>.</p> </li> @@ -49125,10 +49134,10 @@ a url">resolve</a> the resulting URL, relative to the <a href="#script-s-base-url" title="script's base URL">base URL</a> of the <a href="#entry-script">entry script</a> at the time the <code title="dom-navigator-registerContentHandler"><a href="#dom-navigator-registercontenthandler">registerContentHandler()</a></code> or <code title="dom-navigator-registerProtocolHandler"><a href="#dom-navigator-registerprotocolhandler">registerProtocolHandler()</a></code> - methods were invoked, and then <a href="#navigate">navigate</a> an - appropriate <a href="#browsing-context">browsing context</a> to the resulting URL - using the GET method (<a href="#concept-http-equivalent-get" title="concept-http-equivalent-get">or - equivalent</a> for non-HTTP URLs).</p> + methods were invoked, and then <a href="#navigate">navigate</a><!--DONAV + user--> an appropriate <a href="#browsing-context">browsing context</a> to the + resulting URL using the GET method (<a href="#concept-http-equivalent-get" title="concept-http-equivalent-get">or equivalent</a> for + non-HTTP URLs).</p> <p>To get the escaped version of the <a href="#absolute-url">absolute URL</a> of the content in question, the user agent must replace every @@ -54976,11 +54985,11 @@ convert the input stream to the new encoding, set the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a> to <i>certain</i>, and abort these steps.</li> - <li>Otherwise, <a href="#navigate">navigate</a> to the document again, with - <a href="#replacement-enabled">replacement enabled</a>, and using the same <a href="#source-browsing-context">source - browsing context</a>, but this time skip the <a href="#encoding-sniffing-algorithm">encoding - sniffing algorithm</a> and instead just set the encoding to the - new encoding and the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a> to + <li>Otherwise, <a href="#navigate">navigate</a><!--DONAV reparse--> to the + document again, with <a href="#replacement-enabled">replacement enabled</a>, and using + the same <a href="#source-browsing-context">source browsing context</a>, but this time skip + the <a href="#encoding-sniffing-algorithm">encoding sniffing algorithm</a> and instead just set + the encoding to the new encoding and the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a> to <i>certain</i>. Whenever possible, this should be done without actually contacting the network layer (the bytes should be re-parsed from memory), even if, e.g., the document is marked as @@ -65594,9 +65603,9 @@ <a href="#the-form-element" title="form">forms</a> before triggering their <a href="#navigate" title="navigate">navigation</a>.</p> - <p>User agents are expected to allow users to <a href="#navigate">navigate</a> - <a href="#browsing-context" title="browsing context">browsing contexts</a> to the - resources <a href="#resolve-a-url" title="resolve a url">indicated</a> by the <code title="">cite</code> attributes on <code><a href="#the-q-element">q</a></code>, + <p>User agents are expected to allow users to + <a href="#navigate">navigate</a><!--DONAV cite=""--> <a href="#browsing-context" title="browsing + context">browsing contexts</a> to the resources <a href="#resolve-a-url" title="resolve a url">indicated</a> by the <code title="">cite</code> attributes on <code><a href="#the-q-element">q</a></code>, <code><a href="#the-blockquote-element">blockquote</a></code>, <code><a href="#the-section-element">section</a></code>, <code><a href="#the-article-element">article</a></code>, <code><a href="#the-ins-element">ins</a></code>, and <code><a href="#the-del-element">del</a></code> elements.</p> @@ -66420,21 +66429,20 @@ <p>When the browsing context is created, if a <code title="attr-frame-src">src</code> attribute is present, the user agent must <a href="#resolve-a-url" title="resolve a url">resolve</a> the value of that attribute, relative to the element, and if that is successful, - must then <a href="#navigate">navigate</a> the element's browsing context to - the resulting <a href="#absolute-url">absolute URL</a>, with <a href="#replacement-enabled">replacement - enabled</a>, and with the <code><a href="#frame">frame</a></code> element's + must then <a href="#navigate">navigate</a><!--DONAV frame--> the element's + browsing context to the resulting <a href="#absolute-url">absolute URL</a>, with + <a href="#replacement-enabled">replacement enabled</a>, and with the <code><a href="#frame">frame</a></code> + element's document's <a href="#browsing-context">browsing context</a> as the + <a href="#source-browsing-context">source browsing context</a>.</p> + + <p>Whenever the <code title="attr-frame-src">src</code> attribute is + set, the user agent must <a href="#resolve-a-url" title="resolve a url">resolve</a> + the value of that attribute, relative to the element, and if that is + successful, the nested <a href="#browsing-context">browsing context</a> must be <a href="#navigate" title="navigate">navigated</a><!--DONAV frame--> to the resulting + <a href="#absolute-url">absolute URL</a>, with the <code><a href="#frame">frame</a></code> element's document's <a href="#browsing-context">browsing context</a> as the <a href="#source-browsing-context">source browsing context</a>.</p> - <p>Whenever the <code title="attr-frame-src">src</code> attribute - is set, the user agent must <a href="#resolve-a-url" title="resolve a - url">resolve</a> the value of that attribute, relative to the - element, and if that is successful, the nested <a href="#browsing-context">browsing - context</a> must be <a href="#navigate" title="navigate">navigated</a> to - the resulting <a href="#absolute-url">absolute URL</a>, with the - <code><a href="#frame">frame</a></code> element's document's <a href="#browsing-context">browsing - context</a> as the <a href="#source-browsing-context">source browsing context</a>.</p> - <p>When the browsing context is created, if a <code title="attr-frame-name">name</code> attribute is present, the <a href="#browsing-context-name">browsing context name</a> must be set to the value of this attribute; otherwise, the <a href="#browsing-context-name">browsing context name</a> must be
Received on Monday, 29 November 2010 22:59:28 UTC