[html5] r1034 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 25 01:57:18 PDT 2007


Author: ianh
Date: 2007-09-25 01:57:17 -0700 (Tue, 25 Sep 2007)
New Revision: 1034

Modified:
   index
   source
Log:
[e] (0) moving the User Prompts section down.

Modified: index
===================================================================
--- index	2007-09-25 08:53:21 UTC (rev 1033)
+++ index	2007-09-25 08:57:17 UTC (rev 1034)
@@ -1049,38 +1049,38 @@
         </span>Content-Type metadata</a>
       </ul>
 
-     <li><a href="#user-prompts"><span class=secno>4.6. </span>User
-      prompts</a>
-
-     <li><a href="#scripting"><span class=secno>4.7. </span>Scripting</a>
+     <li><a href="#scripting"><span class=secno>4.6. </span>Scripting</a>
       <ul class=toc>
-       <li><a href="#running"><span class=secno>4.7.1. </span>Running
+       <li><a href="#running"><span class=secno>4.6.1. </span>Running
         executable code</a>
 
-       <li><a href="#origin"><span class=secno>4.7.2. </span>Origin</a>
+       <li><a href="#origin"><span class=secno>4.6.2. </span>Origin</a>
 
-       <li><a href="#security3"><span class=secno>4.7.3. </span>Security
+       <li><a href="#security3"><span class=secno>4.6.3. </span>Security
         exceptions</a>
 
-       <li><a href="#javascript-protocol"><span class=secno>4.7.4. </span>The
+       <li><a href="#javascript-protocol"><span class=secno>4.6.4. </span>The
         <code title="">javascript:</code> protocol</a>
 
-       <li><a href="#events"><span class=secno>4.7.5. </span>Events</a>
+       <li><a href="#events"><span class=secno>4.6.5. </span>Events</a>
         <ul class=toc>
-         <li><a href="#event-handler-attributes"><span class=secno>4.7.5.1.
+         <li><a href="#event-handler-attributes"><span class=secno>4.6.5.1.
           </span>Event handler attributes</a>
 
-         <li><a href="#event"><span class=secno>4.7.5.2. </span>Event
+         <li><a href="#event"><span class=secno>4.6.5.2. </span>Event
           firing</a>
 
-         <li><a href="#events0"><span class=secno>4.7.5.3. </span>Events and
+         <li><a href="#events0"><span class=secno>4.6.5.3. </span>Events and
           the <code>Window</code> object</a>
 
-         <li><a href="#runtime-script-errors"><span class=secno>4.7.5.4.
+         <li><a href="#runtime-script-errors"><span class=secno>4.6.5.4.
           </span>Runtime script errors</a>
         </ul>
       </ul>
 
+     <li><a href="#user-prompts"><span class=secno>4.7. </span>User
+      prompts</a>
+
      <li><a href="#browser"><span class=secno>4.8. </span>Browser state</a>
       <ul class=toc>
        <li><a href="#offline"><span class=secno>4.8.1. </span>Offline Web
@@ -26332,47 +26332,10 @@
     </dl>
   </ol>
 
-  <h3 id=user-prompts><span class=secno>4.6. </span>User prompts</h3>
+  <h3 id=scripting><span class=secno>4.6. </span>Scripting</h3>
 
-  <p>The <dfn id=alert title=dom-alert><code>alert(<var
-   title="">message</var>)</code></dfn> method, when invoked, must show the
-   given <var title="">message</var> to the user. The user agent may make the
-   method wait for the user to acknowledge the message before returning; if
-   so, the user agent must <a href="#pause">pause</a> while the method is
-   waiting.
+  <h4 id=running><span class=secno>4.6.1. </span>Running executable code</h4>
 
-  <p>The <dfn id=confirm title=dom-confirm><code>confirm(<var
-   title="">message</var>)</code></dfn> method, when invoked, must show the
-   given <var title="">message</var> to the user, and ask the user to respond
-   with a positive or negative response. The user agent must then <a
-   href="#pause">pause</a> as the the method waits for the user's response.
-   If the user response positively, the method must return true, and if the
-   user response negatively, the method must return false.
-
-  <p>The <dfn id=prompt title=dom-prompt><code>prompt(<var
-   title="">message</var>, <var title="">default</var>)</code></dfn> method,
-   when invoked, must show the given <var title="">message</var> to the user,
-   and ask the user to either respond with a string value or abort. The user
-   agent must then <a href="#pause">pause</a> as the the method waits for the
-   user's response. The second argument is optional. If the second argument
-   (<var title="">default</var>) is present, then the response must be
-   defaulted to the value given by <var title="">default</var>. If the user
-   aborts, then the method must return null; otherwise, the method must
-   return the string that the user responded with.
-
-  <p>The <dfn id=print title=dom-print><code>print()</code></dfn> method,
-   when invoked, should offer the user the opportunity to <a
-   href="#obtain">obtain a physical form</a> of the document. The user agent
-   may make the method wait for the user to either accept or decline before
-   returning; if so, the user agent must <a href="#pause">pause</a> while the
-   method is waiting. (This does not, of course, preclude the user agent from
-   <em>always</em> offering the user with the opportunity to convert the
-   document to whatever media the user might want.)
-
-  <h3 id=scripting><span class=secno>4.7. </span>Scripting</h3>
-
-  <h4 id=running><span class=secno>4.7.1. </span>Running executable code</h4>
-
   <p>Various mechanisms can cause author-provided executable code to run in
    the context of a document. These mechanisms include, but are probably not
    limited to:
@@ -26405,7 +26368,7 @@
    title="User agents with no scripting support">user agent with no scripting
    support</a> for the purposes of conformance.
 
-  <h4 id=origin><span class=secno>4.7.2. </span>Origin</h4>
+  <h4 id=origin><span class=secno>4.6.2. </span>Origin</h4>
   <!-- Hallowed are the Ori -->
   <!--
     https://bugzilla.mozilla.org/show_bug.cgi?id=346659
@@ -26507,11 +26470,11 @@
    kill multi-homed systems like GMail. Should we do something like have a
    DNS record say whether or not to include the IP in the origin for a host?
 
-  <h4 id=security3><span class=secno>4.7.3. </span>Security exceptions</h4>
+  <h4 id=security3><span class=secno>4.6.3. </span>Security exceptions</h4>
 
   <p class=big-issue>Define <dfn id=security8>security exception</dfn>.
 
-  <h4 id=javascript-protocol><span class=secno>4.7.4. </span><dfn
+  <h4 id=javascript-protocol><span class=secno>4.6.4. </span><dfn
    id=the-javascript title="javascript protocol">The <code
    title="">javascript:</code> protocol</dfn></h4>
 
@@ -26586,7 +26549,7 @@
     context</a>.</p>
   </div>
 
-  <h4 id=events><span class=secno>4.7.5. </span>Events</h4>
+  <h4 id=events><span class=secno>4.6.5. </span>Events</h4>
 
   <p class=big-issue>We need to define how to handle events that are to be
    fired on a Document that is no longer the active document of its browsing
@@ -26597,7 +26560,7 @@
    element section, which says scripts don't run when the document isn't
    active.
 
-  <h5 id=event-handler-attributes><span class=secno>4.7.5.1. </span>Event
+  <h5 id=event-handler-attributes><span class=secno>4.6.5.1. </span>Event
    handler attributes</h5>
 
   <p><a href="#html-elements">HTML elements</a> can have <dfn id=event1>event
@@ -26984,7 +26947,7 @@
    set to invoke the function associated with the event handler attribute
    otherwise.
 
-  <h5 id=event><span class=secno>4.7.5.2. </span>Event firing</h5>
+  <h5 id=event><span class=secno>4.6.5.2. </span>Event firing</h5>
 
   <p class=big-issue>maybe this should be moved higher up (terminology?
    conformance? DOM?) Also, the whole terminology thing should be changed so
@@ -27071,7 +27034,7 @@
    actions are defined in terms of <em>any</em> event of the right type on
    that element, not those that are dispatched in expected ways.
 
-  <h5 id=events0><span class=secno>4.7.5.3. </span>Events and the <code><a
+  <h5 id=events0><span class=secno>4.6.5.3. </span>Events and the <code><a
    href="#window">Window</a></code> object</h5>
 
   <p>When an event is dispatched at a DOM node in a <code>Document</code> in
@@ -27090,7 +27053,7 @@
     bubbling has been prevented.
   </ol>
 
-  <h5 id=runtime-script-errors><span class=secno>4.7.5.4. </span>Runtime
+  <h5 id=runtime-script-errors><span class=secno>4.6.5.4. </span>Runtime
    script errors</h5>
 
   <p><em>This section only applies to user agents that support scripting in
@@ -27138,6 +27101,43 @@
   <p>The initial value of <code title=handler-onerror><a
    href="#onerror">onerror</a></code> must be <code>undefined</code>.
 
+  <h3 id=user-prompts><span class=secno>4.7. </span>User prompts</h3>
+
+  <p>The <dfn id=alert title=dom-alert><code>alert(<var
+   title="">message</var>)</code></dfn> method, when invoked, must show the
+   given <var title="">message</var> to the user. The user agent may make the
+   method wait for the user to acknowledge the message before returning; if
+   so, the user agent must <a href="#pause">pause</a> while the method is
+   waiting.
+
+  <p>The <dfn id=confirm title=dom-confirm><code>confirm(<var
+   title="">message</var>)</code></dfn> method, when invoked, must show the
+   given <var title="">message</var> to the user, and ask the user to respond
+   with a positive or negative response. The user agent must then <a
+   href="#pause">pause</a> as the the method waits for the user's response.
+   If the user response positively, the method must return true, and if the
+   user response negatively, the method must return false.
+
+  <p>The <dfn id=prompt title=dom-prompt><code>prompt(<var
+   title="">message</var>, <var title="">default</var>)</code></dfn> method,
+   when invoked, must show the given <var title="">message</var> to the user,
+   and ask the user to either respond with a string value or abort. The user
+   agent must then <a href="#pause">pause</a> as the the method waits for the
+   user's response. The second argument is optional. If the second argument
+   (<var title="">default</var>) is present, then the response must be
+   defaulted to the value given by <var title="">default</var>. If the user
+   aborts, then the method must return null; otherwise, the method must
+   return the string that the user responded with.
+
+  <p>The <dfn id=print title=dom-print><code>print()</code></dfn> method,
+   when invoked, should offer the user the opportunity to <a
+   href="#obtain">obtain a physical form</a> of the document. The user agent
+   may make the method wait for the user to either accept or decline before
+   returning; if so, the user agent must <a href="#pause">pause</a> while the
+   method is waiting. (This does not, of course, preclude the user agent from
+   <em>always</em> offering the user with the opportunity to convert the
+   document to whatever media the user might want.)
+
   <h3 id=browser><span class=secno>4.8. </span>Browser state</h3>
 
   <p>The <dfn id=navigator title=dom-navigator><code>navigator</code></dfn>

Modified: source
===================================================================
--- source	2007-09-25 08:53:21 UTC (rev 1033)
+++ source	2007-09-25 08:57:17 UTC (rev 1034)
@@ -23869,48 +23869,7 @@
 
 
 
-  <h3>User prompts</h3>
 
-  <p>The <dfn title="dom-alert"><code>alert(<var
-  title="">message</var>)</code></dfn> method, when invoked, must show
-  the given <var title="">message</var> to the user. The user agent
-  may make the method wait for the user to acknowledge the message
-  before returning; if so, the user agent must <span>pause</span>
-  while the method is waiting.</p>
-
-  <p>The <dfn title="dom-confirm"><code>confirm(<var
-  title="">message</var>)</code></dfn> method, when invoked, must show
-  the given <var title="">message</var> to the user, and ask the user
-  to respond with a positive or negative response. The user agent must
-  then <span>pause</span> as the the method waits for the user's
-  response. If the user response positively, the method must return
-  true, and if the user response negatively, the method must return
-  false.</p>
-
-  <p>The <dfn title="dom-prompt"><code>prompt(<var
-  title="">message</var>, <var title="">default</var>)</code></dfn>
-  method, when invoked, must show the given <var
-  title="">message</var> to the user, and ask the user to either
-  respond with a string value or abort. The user agent must then
-  <span>pause</span> as the the method waits for the user's
-  response. The second argument is optional. If the second argument
-  (<var title="">default</var>) is present, then the response must be
-  defaulted to the value given by <var title="">default</var>. If the
-  user aborts, then the method must return null; otherwise, the method
-  must return the string that the user responded with.</p>
-
-  <p>The <dfn title="dom-print"><code>print()</code></dfn> method,
-  when invoked, should offer the user the opportunity to <span>obtain
-  a physical form</span> of the document. The user agent may make the
-  method wait for the user to either accept or decline before
-  returning; if so, the user agent must <span>pause</span> while the
-  method is waiting.  (This does not, of course, preclude the user
-  agent from <em>always</em> offering the user with the opportunity to
-  convert the document to whatever media the user might want.)</p>
-
-
-
-
   <h3 id="scripting">Scripting</h3>
 
   <h4>Running executable code</h4>
@@ -24664,8 +24623,47 @@
 
 
 
+  <h3>User prompts</h3>
 
+  <p>The <dfn title="dom-alert"><code>alert(<var
+  title="">message</var>)</code></dfn> method, when invoked, must show
+  the given <var title="">message</var> to the user. The user agent
+  may make the method wait for the user to acknowledge the message
+  before returning; if so, the user agent must <span>pause</span>
+  while the method is waiting.</p>
 
+  <p>The <dfn title="dom-confirm"><code>confirm(<var
+  title="">message</var>)</code></dfn> method, when invoked, must show
+  the given <var title="">message</var> to the user, and ask the user
+  to respond with a positive or negative response. The user agent must
+  then <span>pause</span> as the the method waits for the user's
+  response. If the user response positively, the method must return
+  true, and if the user response negatively, the method must return
+  false.</p>
+
+  <p>The <dfn title="dom-prompt"><code>prompt(<var
+  title="">message</var>, <var title="">default</var>)</code></dfn>
+  method, when invoked, must show the given <var
+  title="">message</var> to the user, and ask the user to either
+  respond with a string value or abort. The user agent must then
+  <span>pause</span> as the the method waits for the user's
+  response. The second argument is optional. If the second argument
+  (<var title="">default</var>) is present, then the response must be
+  defaulted to the value given by <var title="">default</var>. If the
+  user aborts, then the method must return null; otherwise, the method
+  must return the string that the user responded with.</p>
+
+  <p>The <dfn title="dom-print"><code>print()</code></dfn> method,
+  when invoked, should offer the user the opportunity to <span>obtain
+  a physical form</span> of the document. The user agent may make the
+  method wait for the user to either accept or decline before
+  returning; if so, the user agent must <span>pause</span> while the
+  method is waiting.  (This does not, of course, preclude the user
+  agent from <em>always</em> offering the user with the opportunity to
+  convert the document to whatever media the user might want.)</p>
+
+
+
   <h3>Browser state</h3>
 
   <p>The <dfn title="dom-navigator"><code>navigator</code></dfn>




More information about the Commit-Watchers mailing list