[html5] r2169 - [] (0) WF2: mailto submissions

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 12 02:10:10 PDT 2008


Author: ianh
Date: 2008-09-12 02:10:10 -0700 (Fri, 12 Sep 2008)
New Revision: 2169

Modified:
   index
   source
Log:
[] (0) WF2: mailto submissions

Modified: index
===================================================================
--- index	2008-09-12 08:52:31 UTC (rev 2168)
+++ index	2008-09-12 09:10:10 UTC (rev 2169)
@@ -27948,12 +27948,66 @@
       headers</dfn>
 
      <dd>
-      <p class=big-issue>...
+      <p>Let <var title="">headers</var> be the resulting encoding the <var
+       title="">form data set</var> using the <a
+       href="#applicationx-www-form-urlencoded"><code
+       title="">application/x-www-form-urlencoded</code> encoding
+       algorithm</a>.</p>
 
+      <p>Replace occurances of U+002B PLUS SIGN characters (+) in <var
+       title="">headers</var> with the string "<code title="">%20</code>".</p>
+
+      <p>Let <var title="">destination</var> consist of all the characters
+       from the first character in <var title="">action</var> to the
+       character immediately before the first U+003F QUESTION MARK character
+       (?), if any, or the end of the string if there are none.</p>
+
+      <p>Append a single U+003F QUESTION MARK character (?) to <var
+       title="">destination</var>.</p>
+
+      <p>Append <var title="">headers</var> to <var
+       title="">destination</var>.</p>
+
+      <p>Let <var title="">target browsing context</var> be <a
+       href="#the-form0">the form submission target browsing context</a>.</p>
+
+      <p><a href="#navigate">Navigate</a> <var title="">target browsing
+       context</var> to <var title="">destination</var>. If <var
+       title="">target browsing context</var> was newly created for this
+       purpose by the steps above, then it must be navigated with <a
+       href="#replacement">replacement enabled</a>.</p>
+
      <dt><dfn id=mail-as title=submit-mailto-body>Mail as body</dfn>
 
      <dd>
-      <p class=big-issue>...
+      <p>Let <var title="">body</var> be the resulting encoding the <var
+       title="">form data set</var> using the <a
+       href="#appropriate">appropriate form encoding algorithm</a> and then
+       %-escaping all the characters in the resulting string that do not
+       match the <code title="">unreserved</code> production in the URI
+       Generic Syntax. <a href="#refsRFC3986">[RFC3986]</a></p>
+
+      <p>Let <var title="">destination</var> have the same value as <var
+       title="">action</var>.</p>
+
+      <p>If <var title="">destination</var> does not contain a U+003F
+       QUESTION MARK character (?), append a single U+003F QUESTION MARK
+       character (?) to <var title="">destination</var>. Otherwise, append a
+       single U+0026 AMPERSAND character (&).</p>
+
+      <p>Append the string "<code title="">body=</code>" to <var
+       title="">destination</var>.</p>
+
+      <p>Append <var title="">body</var> to <var title="">destination</var>.</p>
+
+      <p>Let <var title="">target browsing context</var> be <a
+       href="#the-form0">the form submission target browsing context</a>.</p>
+
+      <p><a href="#navigate">Navigate</a> <var title="">target browsing
+       context</var> to <var title="">destination</var>. If <var
+       title="">target browsing context</var> was newly created for this
+       purpose by the steps above, then it must be navigated with <a
+       href="#replacement">replacement enabled</a>.</p>
     </dl>
 
     <p><dfn id=the-form0>The form submission target browsing context</dfn> is

Modified: source
===================================================================
--- source	2008-09-12 08:52:31 UTC (rev 2168)
+++ source	2008-09-12 09:10:10 UTC (rev 2169)
@@ -25079,11 +25079,76 @@
      </dd>
 
      <dt><dfn title="submit-mailto-headers">Mail with headers</dfn>
-     <dd><p class="big-issue">...</p></dd>
+     <dd>
 
+      <p>Let <var title="">headers</var> be the resulting encoding the
+      <var title="">form data set</var> using the <span><code
+      title="">application/x-www-form-urlencoded</code> encoding
+      algorithm</span>.</p>
+
+      <p>Replace occurances of U+002B PLUS SIGN characters (+) in <var
+      title="">headers</var> with the string "<code
+      title="">%20</code>".</p>
+
+      <p>Let <var title="">destination</var> consist of all the
+      characters from the first character in <var
+      title="">action</var> to the character immediately before the
+      first U+003F QUESTION MARK character (?), if any, or the end of
+      the string if there are none.</p>
+
+      <p>Append a single U+003F QUESTION MARK character (?) to <var
+      title="">destination</var>.</p>
+
+      <p>Append <var title="">headers</var> to <var
+      title="">destination</var>.</p>
+
+      <p>Let <var title="">target browsing context</var> be <span>the
+      form submission target browsing context</span>.</p>
+
+      <p><span>Navigate</span> <var title="">target browsing
+      context</var> to <var title="">destination</var>. If <var
+      title="">target browsing context</var> was newly created for
+      this purpose by the steps above, then it must be navigated with
+      <span>replacement enabled</span>.</p>
+
+     </dd>
+
      <dt><dfn title="submit-mailto-body">Mail as body</dfn>
-     <dd><p class="big-issue">...</p></dd>
+     <dd>
 
+      <p>Let <var title="">body</var> be the resulting encoding the
+      <var title="">form data set</var> using the <span>appropriate
+      form encoding algorithm</span> and then %-escaping all the
+      characters in the resulting string that do not match the <code
+      title="">unreserved</code> production in the URI Generic
+      Syntax. <a href="#refsRFC3986">[RFC3986]</a></p>
+      
+      <p>Let <var title="">destination</var> have the same value as
+      <var title="">action</var>.</p>
+
+      <p>If <var title="">destination</var> does not contain a U+003F
+      QUESTION MARK character (?), append a single U+003F QUESTION
+      MARK character (?) to <var
+      title="">destination</var>. Otherwise, append a single U+0026
+      AMPERSAND character (&).</p>
+
+      <p>Append the string "<code title="">body=</code>" to <var
+      title="">destination</var>.</p>
+
+      <p>Append <var title="">body</var> to <var
+      title="">destination</var>.</p>
+
+      <p>Let <var title="">target browsing context</var> be <span>the
+      form submission target browsing context</span>.</p>
+
+      <p><span>Navigate</span> <var title="">target browsing
+      context</var> to <var title="">destination</var>. If <var
+      title="">target browsing context</var> was newly created for
+      this purpose by the steps above, then it must be navigated with
+      <span>replacement enabled</span>.</p>
+
+     </dd>
+
     </dl>
 
     <p><dfn>The form submission target browsing context</dfn> is




More information about the Commit-Watchers mailing list