[html5] r1229 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 15 17:19:22 PST 2008


Author: ianh
Date: 2008-02-15 17:19:18 -0800 (Fri, 15 Feb 2008)
New Revision: 1229

Modified:
   index
   source
Log:
[e] (0) typos

Modified: index
===================================================================
--- index	2008-02-16 01:09:21 UTC (rev 1228)
+++ index	2008-02-16 01:19:18 UTC (rev 1229)
@@ -28728,7 +28728,7 @@
   <pre
    class=idl>interface <dfn id=popstateevent>PopStateEvent</dfn> : Event {
   readonly attribute DOMObject <a href="#state0" title=dom-PopStateEvent-state>state</a>;
-  void <a href="#initpopstateevent" title=dom-PopStateEvent-initPopStateEvent>initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject statetArg);
+  void <a href="#initpopstateevent" title=dom-PopStateEvent-initPopStateEvent>initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg);
   void <a href="#initpopstateeventns" title=dom-PopStateEvent-initPopStateEventNS>initPopStateEventNS</a>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg);
 };</pre>
 
@@ -28795,8 +28795,8 @@
    title="">location</code> members of the <code><a
    href="#htmldocument">HTMLDocument</a></code> and <code><a
    href="#window">Window</a></code> interfaces behave as if they had a
-   setter: user agents must treats attempts to set these <code
-   title="">location</code> attribute as attempts at setting the <code
+   setter: user agents must treat attempts to set these <code
+   title="">location</code> attributes as attempts at setting the <code
    title=dom-location-href><a href="#href5">href</a></code> attribute of the
    relevant <code><a href="#location2">Location</a></code> object instead.
 
@@ -28818,6 +28818,10 @@
    value as its argument.</p>
   <!-- XXX may wish to allow
   replace instead as a UI improvement -->
+  <!-- XXX if we decide to
+  make .href setters just be the same as calling assign(), then change
+  the magic location setter above simply refer straight to assign() as
+  well, so we don't have two levels of indirection -->
 
   <p>When the <dfn id=assign title=dom-location-assign><code>assign(<var
    title="">url</var>)</code></dfn> method is invoked, the UA must <a

Modified: source
===================================================================
--- source	2008-02-16 01:09:21 UTC (rev 1228)
+++ source	2008-02-16 01:19:18 UTC (rev 1229)
@@ -26268,7 +26268,7 @@
 
   <pre class="idl">interface <dfn>PopStateEvent</dfn> : Event {
   readonly attribute DOMObject <span title="dom-PopStateEvent-state">state</span>;
-  void <span title="dom-PopStateEvent-initPopStateEvent">initPopStateEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject statetArg);
+  void <span title="dom-PopStateEvent-initPopStateEvent">initPopStateEvent</span>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg);
   void <span title="dom-PopStateEvent-initPopStateEventNS">initPopStateEventNS</span>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg);
 };</pre>
 
@@ -26333,8 +26333,8 @@
   <p id="settingLocation">In the ECMAScript DOM binding, the <code
   title="">location</code> members of the <code>HTMLDocument</code>
   and <code>Window</code> interfaces behave as if they had a setter:
-  user agents must treats attempts to set these <code
-  title="">location</code> attribute as attempts at setting the <code
+  user agents must treat attempts to set these <code
+  title="">location</code> attributes as attempts at setting the <code
   title="dom-location-href">href</code> attribute of the relevant
   <code>Location</code> object instead.</p>
 
@@ -26354,7 +26354,10 @@
   argument. Otherwise,--> the user agent must act as if the <code
   title="dom-location-assign">assign()</code> method had been called
   with the new value as its argument.</p><!-- XXX may wish to allow
-  replace instead as a UI improvement -->
+  replace instead as a UI improvement --> <!-- XXX if we decide to
+  make .href setters just be the same as calling assign(), then change
+  the magic location setter above simply refer straight to assign() as
+  well, so we don't have two levels of indirection -->
 
   <p>When the <dfn title="dom-location-assign"><code>assign(<var
   title="">url</var>)</code></dfn> method is invoked, the UA must




More information about the Commit-Watchers mailing list