- From: poot <cvsmail@w3.org>
- Date: Fri, 12 Sep 2008 17:19:31 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: Define 'Submit as entity body', factor out some common prose to
make it less redundant. (whatwg r2166)
Mutate action
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#mutate
application/x-www-form-urlencoded encoding algorithm
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#applicationx-www-form-urlencoded
multipart/form-data encoding algorithm
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#multipartform-data
Submit as entity body
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#submit
text/plain encoding algorithm
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#textplain
appropriate form encoding algorithm
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#appropriate
Mail as body
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#mail-as
The form submission target browsing context
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#the-form0
4.10 Scripting
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#scripting1
Delete action
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1339.html#delete
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1338&r2=1.1339&f=h
http://html5.org/tools/web-apps-tracker?from=2165&to=2166
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1338
retrieving revision 1.1339
diff -u -d -r1.1338 -r1.1339
--- Overview.html 12 Sep 2008 01:01:57 -0000 1.1338
+++ Overview.html 12 Sep 2008 08:16:21 -0000 1.1339
@@ -27815,18 +27815,8 @@
replaced by <var title="">query</var> (adding a U+003F QUESTION MARK
(?) character if appropriate).</p>
- <p>If the user indicated a specific <a href="#browsing1">browsing
- context</a> to use when submitting the form, then let <var
- title="">target browsing context</var> be that <a
- href="#browsing1">browsing context</a>.</p>
-
- <p>Otherwise, apply <a href="#the-rules">the rules for choosing a
- browsing context given a browsing context name</a> using <var
- title="">target</var> as the name and the <a
- href="#browsing1">browsing context</a> of <var title="">form</var> as
- the context in which the algorithm is executed, and let <var
- title="">target browsing context</var> be the resulting <a
- href="#browsing1">browsing context</a>.</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
@@ -27837,7 +27827,20 @@
<dt><dfn id=submit title=submit-body>Submit as entity body</dfn>
<dd>
- <p class=big-issue>...
+ <p>Let <var title="">entity body</var> be the resulting encoding the
+ <var title="">form data set</var> using the <a
+ href="#appropriate">appropriate form encoding algorithm</a>.</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="">action</var> using the HTTP method
+ given by <var title="">method</var> and with <var title="">entity
+ body</var> as the entity body. 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=delete title=submit-delete-action>Delete action</dfn>
@@ -27871,6 +27874,41 @@
<p class=big-issue>...
</dl>
+ <p><dfn id=the-form0>The form submission target browsing context</dfn> is
+ obtained, when needed by the behaviors described above, as follows: If
+ the user indicated a specific <a href="#browsing1">browsing context</a>
+ to use when submitting the form, then that is the target browsing
+ context. Otherwise, apply <a href="#the-rules">the rules for choosing a
+ browsing context given a browsing context name</a> using <var
+ title="">target</var> as the name and the <a href="#browsing1">browsing
+ context</a> of <var title="">form</var> as the context in which the
+ algorithm is executed; the resulting <a href="#browsing1">browsing
+ context</a> is the target browsing context.</p>
+
+ <p>The <dfn id=appropriate>appropriate form encoding algorithm</dfn> is
+ determined as follows:</p>
+
+ <dl>
+ <dt>If <var title="">enctype</var> is <code
+ title=attr-fs-enctype-urlencoded>application/x-www-form-urlencoded</code>
+
+ <dd>Use the <a href="#applicationx-www-form-urlencoded"><code
+ title="">application/x-www-form-urlencoded</code> encoding
+ algorithm</a>.
+
+ <dt>If <var title="">enctype</var> is <code
+ title=attr-fs-enctype-formdata>multpart/form-data</code>
+
+ <dd>Use the <a href="#multipartform-data"><code
+ title="">multipart/form-data</code> encoding algorithm</a>.
+
+ <dt>If <var title="">enctype</var> is <code
+ title=attr-fs-enctype-text>text/plain</code>
+
+ <dd>Use the <a href="#textplain"><code title="">text/plain</code>
+ encoding algorithm</a>.
+ </dl>
+
<li>
<p class=big-issue>...
</ol>
@@ -27888,6 +27926,30 @@
encoding. -->
</ol>
+ <p>The <dfn id=multipartform-data><code title="">multipart/form-data</code>
+ encoding algorithm</dfn> is as follows:
+
+ <ol>
+ <li>
+ <p class=big-issue>...
+ </li>
+ <!-- During this step, the form data set is examined to ensure all
+ the characters are representable in the submission character
+ encoding. -->
+ </ol>
+
+ <p>The <dfn id=textplain><code title="">text/plain</code> encoding
+ algorithm</dfn> is as follows:
+
+ <ol>
+ <li>
+ <p class=big-issue>...
+ </li>
+ <!-- During this step, the form data set is examined to ensure all
+ the characters are representable in the submission character
+ encoding. -->
+ </ol>
+
<h3 id=scripting1><span class=secno>4.10 </span>Scripting</h3>
<p>Scripts allow authors to add interactivity to their documents.
Received on Friday, 12 September 2008 08:20:08 UTC