[html5] r994 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 9 18:12:54 PDT 2007


Author: ianh
Date: 2007-08-09 18:12:53 -0700 (Thu, 09 Aug 2007)
New Revision: 994

Modified:
   index
   source
Log:
[] (0) Let's try adding an event that fires when you change just the fragment identifier, so you can catch that.

Modified: index
===================================================================
--- index	2007-08-09 23:58:53 UTC (rev 993)
+++ index	2007-08-10 01:12:53 UTC (rev 994)
@@ -22,7 +22,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=working>Working Draft — 9 August 2007</h2>
+   <h2 class="no-num no-toc" id=working>Working Draft — 10 August 2007</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -23470,11 +23470,21 @@
     </ol>
 
    <li>
-    <p>If the specified entry is a state object, the user agent must <a
-     href="#activating0" title="activate the state object">activate that
-     state object</a>.
+    <p>If the <a href="#specified">specified entry</a> is a state object, the
+     user agent must <a href="#activating0" title="activate the state
+     object">activate that state object</a>.
 
    <li>
+    <p>If the <a href="#specified">specified entry</a> has a URI that differs
+     from the <a href="#current0">current entry</a>'s only by its fragment
+     identifier, and the two share the same <code>Document</code> object,
+     then <a href="#firing2">fire a simple event</a> with the name
+     <code>hashchanged</code> at <a href="#the-body0">the <code>body</code>
+     element</a>.</p>
+
+    <p class=issue>I'm open to better event names and targets here.
+
+   <li>
     <p>User agents may also update other aspects of the document view when
      the location changes in this way, for instance the scroll position,
      values of form fields, etc.
@@ -41311,22 +41321,22 @@
    &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof Zelechovski,
    Lachlan Hunt, Larry Page, Lars Gunther, Laurens Holst, Lenny Domnitser,
    Léonard Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->,
-   Maciej Stachowiak, Malcolm Rowe, Mark Nottingham, Mark Rowe<!--bdash-->,
-   Mark Schenk, Martijn Wargers, Martin Atkins, Martin Honnen, Mathieu Henri,
-   Matthew Mastracci, Matthew Raymond, Matthew Thomas, Mattias Waldau, Max
-   Romantschuk, Michael 'Ratt' Iannarelli, Michael A. Nachbaur, Michael A.
-   Puls II<!--Shadow2531-->, Michael Gratton, Michael Powers, Michel Fortin,
-   Mihai &#x015E;ucan<!-- from ROBO
-  Design -->, Mike Brown, Mike
-   Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike Schinkel, Mike Shaver,
-   Mikko Rantalainen, Neil Deakin, Olav Junker Kjær, Philip Taylor,
-   Rajas Moonka, Rimantas Liubertas, Robert O'Callahan, Robert Sayre, Roman
-   Ivanov, S. Mike Dierken, Sam Ruby, Sean Knapp, Shaun Inman, Simon Pieters,
-   Stefan Haustein, Stephen Ma, Steve Runyon, Steven Garrity, Stewart Brodie,
-   Stuart Parmenter, Tantek Çelik, Thomas Broyer, Thomas O'Connor, Tim
-   Altman, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba, William Swanson,
-   Øistein E. Andersen, and everyone on the WHATWG mailing list for
-   their useful and substantial comments.
+   Loune, Maciej Stachowiak, Malcolm Rowe, Mark Nottingham, Mark
+   Rowe<!--bdash-->, Mark Schenk, Martijn Wargers, Martin Atkins, Martin
+   Honnen, Mathieu Henri, Matthew Mastracci, Matthew Raymond, Matthew Thomas,
+   Mattias Waldau, Max Romantschuk, Michael 'Ratt' Iannarelli, Michael A.
+   Nachbaur, Michael A. Puls II<!--Shadow2531-->, Michael Gratton, Michael
+   Powers, Michel Fortin, Mihai &#x015E;ucan<!-- from ROBO
+  Design -->, Mike
+   Brown, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike Schinkel,
+   Mike Shaver, Mikko Rantalainen, Neil Deakin, Olav Junker Kjær,
+   Philip Taylor, Rajas Moonka, Rimantas Liubertas, Robert O'Callahan, Robert
+   Sayre, Roman Ivanov, S. Mike Dierken, Sam Ruby, Sean Knapp, Shaun Inman,
+   Simon Pieters, Stefan Haustein, Stephen Ma, Steve Runyon, Steven Garrity,
+   Stewart Brodie, Stuart Parmenter, Tantek Çelik, Thomas Broyer,
+   Thomas O'Connor, Tim Altman, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba,
+   William Swanson, Øistein E. Andersen, and everyone on the WHATWG
+   mailing list for their useful and substantial comments.
 
   <p>Special thanks to Richard Williamson for creating the first
    implementation of <code><a href="#canvas">canvas</a></code> in Safari,

Modified: source
===================================================================
--- source	2007-08-09 23:58:53 UTC (rev 993)
+++ source	2007-08-10 01:12:53 UTC (rev 994)
@@ -21086,10 +21086,18 @@
 
    </li>
 
-   <li><p>If the specified entry is a state object, the user agent
-   must <span title="activate the state object">activate that state
-   object</span>.</p></li>
+   <li><p>If the <span>specified entry</span> is a state object, the
+   user agent must <span title="activate the state object">activate
+   that state object</span>.</p></li>
 
+   <li><p>If the <span>specified entry</span> has a URI that differs
+   from the <span>current entry</span>'s only by its fragment
+   identifier, and the two share the same <code>Document</code>
+   object, then <span>fire a simple event</span> with the name
+   <code>hashchanged</code> at <span>the <code>body</code>
+   element</span>.</p> <p class="issue">I'm open to better event names
+   and targets here.</p></li>
+
    <li><p>User agents may also update other aspects of the document
    view when the location changes in this way, for instance the scroll
    position, values of form fields, etc.</p></li>
@@ -37186,7 +37194,7 @@
   Gunther --> Kornel Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7;
   (KUROSAWA Takeshi), Kristof Zelechovski, Lachlan Hunt, Larry Page,
   Lars Gunther, Laurens Holst, Lenny Domnitser, Léonard
-  Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->, Maciej
+  Bouchet, Leons Petrazickis, Logan<!-- on moz irc -->, Loune, Maciej
   Stachowiak, Malcolm Rowe, Mark Nottingham, Mark Rowe<!--bdash-->,
   Mark Schenk, Martijn Wargers, Martin Atkins, Martin Honnen, Mathieu
   Henri, Matthew Mastracci, Matthew Raymond, Matthew Thomas, Mattias




More information about the Commit-Watchers mailing list