[html5] r1807 - [] (0) URLification of templates, window.open()

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 26 03:20:59 PDT 2008


Author: ianh
Date: 2008-06-26 03:20:59 -0700 (Thu, 26 Jun 2008)
New Revision: 1807

Modified:
   index
   source
Log:
[] (0) URLification of templates, window.open()

Modified: index
===================================================================
--- index	2008-06-26 09:48:23 UTC (rev 1806)
+++ index	2008-06-26 10:20:59 UTC (rev 1807)
@@ -28907,8 +28907,7 @@
 
   <p>The <dfn id=mode2 title=dom-nest-mode><code>mode</code></dfn> DOM
    attribute must <a href="#reflect">reflect</a> the <code
-   title=attr-nest-mode><a href="#mode1">mode</a></code> content attribute.</p>
-  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
+   title=attr-nest-mode><a href="#mode1">mode</a></code> content attribute.
 
   <h4 id=global0><span class=secno>4.12.5 </span>Global attributes for data
    templates</h4>
@@ -28991,7 +28990,6 @@
 
   <h5 id=the-template><span class=secno>4.12.6.2. </span>The <code
    title=attr-template><a href="#template">template</a></code> attribute</h5>
-  <!-- XXXURL apply algorithms -->
 
   <p><dfn id=setting title=datatemplate-template-set>Setting</dfn>: When an
    <a href="#html-elements" title="HTML elements">HTML element</a> without a
@@ -29001,7 +28999,8 @@
    fetch the specified file<!-- XXX or queue it up to be fetched,
   or something -->
    and parse it (without a <a href="#browsing1">browsing context</a>) to
-   obtain a DOM. If the URI is the same as <span>the document's
+   obtain a DOM. If the <a href="#url">URL</a>, when <a href="#resolve"
+   title="resolve a url">resolved</a>, is the same as <span>the document's
    address</span><!-- XXXDOCURL xref -->, then the current document's DOM
    must be assumed to be that parsed DOM. While this loading and parsing is
    in progress, the element is said to be <em>busy loading the template rules
@@ -29118,7 +29117,6 @@
 
   <h5 id=the-ref><span class=secno>4.12.6.3. </span>The <code
    title=attr-ref><a href="#ref">ref</a></code> attribute</h5>
-  <!-- XXXURL apply algorithms -->
 
   <p><dfn id=setting0 title=datatemplate-ref-set>Setting</dfn>: When an <a
    href="#html-elements" title="HTML elements">HTML element</a> without a
@@ -29127,11 +29125,12 @@
    must fetch the specified file<!-- XXX or queue it up to be fetched, or
   something -->
    and parse it (without a <a href="#browsing1">browsing context</a>) to
-   obtain a DOM. If the URI is the same as <span>the document's
-   address</span><!-- XXXDOCURL xref -->, then the current document's DOM is
-   assumed to be that parsed DOM. While this loading and parsing is in
-   progress, the element is said to be <em>busy loading the template rules or
-   data</em>.
+   obtain a DOM. If the <a href="#url">URL</a>, when <a href="#resolve"
+   title="resolve a url">resolved</a>, is the same as <span>the document's
+   address</span><!-- XXXDOCURL xref -->, then the current document's DOM
+   must be assumed to be that parsed DOM. While this loading and parsing is
+   in progress, the element is said to be <em>busy loading the template rules
+   or data</em>.
 
   <p>If the resource specified by the <code title=attr-ref><a
    href="#ref">ref</a></code> attribute is not the current
@@ -30256,14 +30255,15 @@
    href="#browsing1">browsing context</a> or opening and navigating an <a
    href="#auxiliary0">auxiliary browsing context</a>.
 
-  <p>The method has four arguments, though they are all optional.</p>
-  <!-- XXXURL rfc2119 this paragraph, apply algorithms -->
+  <p>The method has four arguments, though they are all optional.
 
-  <p>The first argument, <var title="">url</var>, gives a <a
+  <p>The first argument, <var title="">url</var>, must be a <a
    href="#valid">valid URL</a> for a page to load in the browsing context. If
    no arguments are provided, then the <var title="">url</var> argument
    defaults to "<code>about:blank</code><!-- XXX xref -->". The argument must
-   be resolved to an absolute URI by <span class=big-issue>...</span>
+   be <a href="#resolve" title="resolve a url">resolved</a> to an <a
+   href="#absolute">absolute URL</a> (or an error) when the method is
+   invoked.
 
   <p>The second argument, <var title="">target</var>, specifies the <a
    href="#browsing2" title="browsing context name">name</a> of the browsing
@@ -30299,11 +30299,12 @@
    title=dom-open><a href="#open2">window.open()</a></code> API to open a
    page in an iframe, but, while doing so, holds the control key down, the
    user agent could override the selection of the target browsing context to
-   instead target a new tab.</p>
-  <!-- XXXURL apply algorithms -->
+   instead target a new tab.
 
   <p>Then, the user agent must <a href="#navigate">navigate</a> the selected
-   <a href="#browsing1">browsing context</a> to the URI given in <var
+   <a href="#browsing1">browsing context</a> to the <a
+   href="#absolute">absolute URL</a> (or error) obtained from <a
+   href="#resolve" title="resolve a url">resolving</a> <var
    title="">url</var>. If the <var title="">replace</var> is true, then <a
    href="#replacement" title="replacement enabled">replacement must be
    enabled</a>; otherwise, it must not be enabled unless the <a
@@ -30343,6 +30344,7 @@
    <code>Document</code>, sorted in document order of the elements nesting
    those browsing contexts.</p>
   <!-- XXX DOMB -->
+  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
 
   <h3 id=origin><span class=secno>5.3 </span>Origin</h3>
   <!-- Hallowed are the Ori -->

Modified: source
===================================================================
--- source	2008-06-26 09:48:23 UTC (rev 1806)
+++ source	2008-06-26 10:20:59 UTC (rev 1807)
@@ -26417,7 +26417,6 @@
   title="attr-nest-mode">mode</code> content attribute.</p>
 
 
-  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
 
 
   <h4>Global attributes for data templates</h4>
@@ -26428,8 +26427,8 @@
   processing model is to be applied to that element.</p>
 
   <p>The <code title="attr-template">template</code> attribute, when
-  specified, must be a <span>valid URL</span> to an XML or HTML document,
-  or a fragment identifier pointing at another part of the
+  specified, must be a <span>valid URL</span> to an XML or HTML
+  document, or a fragment identifier pointing at another part of the
   document. If there is a fragment identifier present, then the
   element with that ID in the target document must be a
   <code>datatemplate</code> element, otherwise, the root element must
@@ -26503,14 +26502,14 @@
 
   <h5>The <code title="attr-template">template</code> attribute</h5>
 
-  <!-- XXXURL apply algorithms -->
   <p><dfn title="datatemplate-template-set">Setting</dfn>: When an
   <span title="HTML elements">HTML element</span> without a <code
   title="attr-template">template</code> attribute has its <code
   title="attr-template">template</code> attribute set, the user agent
   must fetch the specified file<!-- XXX or queue it up to be fetched,
   or something --> and parse it (without a <span>browsing
-  context</span>) to obtain a DOM. If the URI is the same as <span>the
+  context</span>) to obtain a DOM. If the <span>URL</span>, when <span
+  title="resolve a url">resolved</span>, is the same as <span>the
   document's address</span><!-- XXXDOCURL xref -->, then the current
   document's DOM must be assumed to be that parsed DOM. While this
   loading and parsing is in progress, the element is said to be
@@ -26632,18 +26631,18 @@
 
   <h5>The <code title="attr-ref">ref</code> attribute</h5>
 
-  <!-- XXXURL apply algorithms -->
   <p><dfn title="datatemplate-ref-set">Setting</dfn>: When an <span
   title="HTML elements">HTML element</span> without a <code
   title="attr-ref">ref</code> attribute has its <code
   title="attr-ref">ref</code> attribute set, the user agent must fetch
   the specified file<!-- XXX or queue it up to be fetched, or
   something --> and parse it (without a <span>browsing context</span>)
-  to obtain a DOM. If the URI is the same as <span>the document's
+  to obtain a DOM. If the <span>URL</span>, when <span title="resolve
+  a url">resolved</span>, is the same as <span>the document's
   address</span><!-- XXXDOCURL xref -->, then the current document's
-  DOM is assumed to be that parsed DOM. While this loading and parsing
-  is in progress, the element is said to be <em>busy loading the
-  template rules or data</em>.</p>
+  DOM must be assumed to be that parsed DOM. While this loading and
+  parsing is in progress, the element is said to be <em>busy loading
+  the template rules or data</em>.</p>
 
   <p>If the resource specified by the <code
   title="attr-ref">ref</code> attribute is not the current
@@ -27789,12 +27788,13 @@
 
   <p>The method has four arguments, though they are all optional.</p>
 
-  <!-- XXXURL rfc2119 this paragraph, apply algorithms -->
-  <p>The first argument, <var title="">url</var>, gives a <span>valid URL</span> for a page to load in the browsing context. If no arguments
-  are provided, then the <var title="">url</var> argument defaults to
+  <p>The first argument, <var title="">url</var>, must be a
+  <span>valid URL</span> for a page to load in the browsing
+  context. If no arguments are provided, then the <var
+  title="">url</var> argument defaults to
   "<code>about:blank</code><!-- XXX xref -->". The argument must be
-  resolved to an absolute URI by <span
-  class="big-issue">...</span></p>
+  <span title="resolve a url">resolved</span> to an <span>absolute
+  URL</span> (or an error) when the method is invoked.</p>
 
   <p>The second argument, <var title="">target</var>, specifies the
   <span title="browsing context name">name</span> of the browsing
@@ -27833,11 +27833,11 @@
   agent could override the selection of the target browsing context to
   instead target a new tab.</p>
 
-  <!-- XXXURL apply algorithms -->
   <p>Then, the user agent must <span>navigate</span> the selected
-  <span>browsing context</span> to the URI given in <var
-  title="">url</var>. If the <var title="">replace</var> is true, then
-  <span title="replacement enabled">replacement must be
+  <span>browsing context</span> to the <span>absolute URL</span> (or
+  error) obtained from <span title="resolve a url">resolving</span>
+  <var title="">url</var>. If the <var title="">replace</var> is true,
+  then <span title="replacement enabled">replacement must be
   enabled</span>; otherwise, it must not be enabled unless the
   <span>browsing context</span> was just created as part of the
   <span>the rules for choosing a browsing context given a browsing
@@ -27874,6 +27874,7 @@
   sorted in document order of the elements nesting those browsing
   contexts.</p> <!-- XXX DOMB -->
 
+  <!-- XXXURL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \(URI\|IRI\|URL\) -->
 
 
   <h3>Origin</h3>




More information about the Commit-Watchers mailing list