Skip to content
Permalink
Browse files

[] (0) Let's try adding an event that fires when you change just the …

…fragment identifier, so you can catch that.

git-svn-id: http://svn.whatwg.org/webapps@994 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Aug 10, 2007
1 parent 237d50c commit 6efa630d6498f2f525e9a182a6f5381dbed62a70
Showing with 42 additions and 24 deletions.
  1. +30 −20 index
  2. +12 −4 source
50 index
@@ -22,7 +22,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=working>Working Draft &mdash; 9 August 2007</h2>
<h2 class="no-num no-toc" id=working>Working Draft &mdash; 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
</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
&#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof Zelechovski,
Lachlan Hunt, Larry Page, Lars Gunther, Laurens Holst, Lenny Domnitser,
L&eacute;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&aelig;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 &Ccedil;elik, Thomas Broyer, Thomas O'Connor, Tim
Altman, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba, William Swanson,
&Oslash;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&aelig;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 &Ccedil;elik, Thomas Broyer,
Thomas O'Connor, Tim Altman, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba,
William Swanson, &Oslash;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,
16 source

</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
Gunther --> Kornel Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7;
(KUROSAWA Takeshi), Kristof Zelechovski, Lachlan Hunt, Larry Page,
Lars Gunther, Laurens Holst, Lenny Domnitser, L&eacute;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

0 comments on commit 6efa630

Please sign in to comment.
You can’t perform that action at this time.