W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2008

html5/spec Overview.html,1.1001,1.1002

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 27 Jun 2008 02:08:55 +0000
To: public-html-commits@w3.org
Message-Id: <E1KC3OR-0003Py-MS@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv13110

Modified Files:
	Overview.html 
Log Message:
URLify Location. (whatwg r1813)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1001
retrieving revision 1.1002
diff -u -d -r1.1001 -r1.1002
--- Overview.html	27 Jun 2008 01:56:09 -0000	1.1001
+++ Overview.html	27 Jun 2008 02:08:52 -0000	1.1002
@@ -34088,8 +34088,6 @@
      bubbles but is not cancelable and has no default action.
   </ol>
   <!-- XXX onpopstate should be defined somewhere -->
-  <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
-  <!-- XXXURL check with DOM3 Events -->
 
   <pre
    class=idl>interface <dfn id=popstateevent>PopStateEvent</dfn> : Event {
@@ -34143,8 +34141,7 @@
   void <a href="#replace" title=dom-location-replace>replace</a>(in DOMString url);
   void <span title=dom-location-reload>reload</span>();
 
-  <!-- XXXURL change to URL
- -->  // <span>URI decomposition attributes</span> <!-- blame brendan for these "innovative" names -->
+    // <a href="#url-decomposition">URL decomposition attributes</a> <!-- blame brendan for these "innovative" names -->
            attribute DOMString <a href="#protocol0" title=dom-location-protocol>protocol</a>;
            attribute DOMString <a href="#host0" title=dom-location-host>host</a>;
            attribute DOMString <a href="#hostname0" title=dom-location-hostname>hostname</a>;
@@ -34153,11 +34150,11 @@
            attribute DOMString <a href="#search0" title=dom-location-search>search</a>;
            attribute DOMString <a href="#hash0" title=dom-location-hash>hash</a>;
 };</pre>
-  <!-- XXXURL change to URL -->
 
   <p>The <dfn id=href5 title=dom-location-href><code>href</code></dfn>
-   attribute returns the address of the page represented by the associated
-   <code>Document</code> object, as an absolute URI or IRI reference.
+   attribute must return <span title="the document's address">the
+   address</span><!-- XXXDOCURL --> of the page represented by the associated
+   <code>Document</code> object, as an <a href="#absolute">absolute URL</a>.
 
   <p>On setting, <!--XXX Mozilla does this, but IE doesn't. What
   should we do?: the behavior depends on the context in which the
@@ -34193,36 +34190,27 @@
    href="#assign">assign()</a></code> and <code title=dom-location-replace><a
    href="#replace">replace()</a></code> methods must be done with the <a
    href="#script3">script browsing context</a> of the script that invoked the
-   method as the <a href="#source0">source browsing context</a>.</p>
-  <!-- XXXURL algorithms -->
-
-  <p>Relative <var title="">url</var> arguments for <code
-   title=dom-location-assign><a href="#assign">assign()</a></code> and <code
-   title=dom-location-replace><a href="#replace">replace()</a></code> must be
-   resolved relative to the <span title="script's base URI">base URI of the
-   script</span> that made the method call.</p>
-  <!-- XXX what about if
-  the base URI is data: or javascript: or about: or something else
-  without a way to resolve base URIs? -->
-  <!-- XXXURL change to URL -->
+   method as the <a href="#source0">source browsing context</a>.
 
   <p>The <code><a href="#location2">Location</a></code> interface also has
-   the complement of <span>URI decomposition attributes</span>, <dfn
-   id=protocol0 title=dom-location-protocol><code>protocol</code></dfn>, <dfn
-   id=host0 title=dom-location-host><code>host</code></dfn>, <dfn id=port0
+   the complement of <a href="#url-decomposition">URL decomposition
+   attributes</a>, <dfn id=protocol0
+   title=dom-location-protocol><code>protocol</code></dfn>, <dfn id=host0
+   title=dom-location-host><code>host</code></dfn>, <dfn id=port0
    title=dom-location-port><code>port</code></dfn>, <dfn id=hostname0
    title=dom-location-hostname><code>hostname</code></dfn>, <dfn id=pathname0
    title=dom-location-pathname><code>pathname</code></dfn>, <dfn id=search0
    title=dom-location-search><code>search</code></dfn>, and <dfn id=hash0
    title=dom-location-hash><code>hash</code></dfn>. These must follow the
-   rules given for URI decomposition attributes, with the <a href="#input"
-   title=concept-uda-input>input</a> being the address of the page
-   represented by the associated <code>Document</code> object, as an absolute
-   URI or IRI reference (same as the <code title=dom-location-href><a
-   href="#href5">href</a></code> attribute), and the <a href="#common3"
-   title=concept-uda-setter>common setter action</a> being the same as
-   setting the <code title=dom-location-href><a href="#href5">href</a></code>
-   attribute to the new output value.</p>
+   rules given for URL decomposition attributes, with the <a href="#input"
+   title=concept-uda-input>input</a> being <span title="the document's
+   address">the address</span><!-- XXXDOCURL --> of the page represented by
+   the associated <code>Document</code> object, as an <a
+   href="#absolute">absolute URL</a> (same as the <code
+   title=dom-location-href><a href="#href5">href</a></code> attribute), and
+   the <a href="#common3" title=concept-uda-setter>common setter action</a>
+   being the same as setting the <code title=dom-location-href><a
+   href="#href5">href</a></code> attribute to the new output value.</p>
   <!--
   <dfn title="dom-location-reload"><code>reload()</code></dfn>
   reload during resize event:
@@ -34295,7 +34283,8 @@
   <p>In addition, a user agent could ignore calls to <code
    title=dom-history-pushState><a href="#pushstate">pushState()</a></code>
    that are invoked on a timer, or from event handlers that do not represent
-   a clear user action, or that are invoked in rapid succession.
+   a clear user action, or that are invoked in rapid succession.</p>
+  <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL \(url\|uri\|iri\) -->
 
   <h3 id=browsing0><span class=secno>5.9 </span>Browsing the Web</h3>
 
Received on Friday, 27 June 2008 02:09:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:57 GMT