Merge Anne's change: Oct 12, 2012, Non-normative change: define FormData without subsections
authorJungkee Song <jungkee.song@samsung.com>
Mon, 19 Nov 2012 15:45:11 +0900
changeset 93 9f3b92df1e57
parent 92 d7c7d0d2c90e
child 94 934a01815256
Merge Anne's change: Oct 12, 2012, Non-normative change: define FormData without subsections
Overview.html
Overview.src.html
--- a/Overview.html	Mon Nov 19 15:13:06 2012 +0900
+++ b/Overview.html	Mon Nov 19 15:45:11 2012 +0900
@@ -198,10 +198,7 @@
      <li><a href="#the-responsetext-attribute"><span class="secno">4.8.9 </span>The <code title="">responseText</code> attribute</a></li>
      <li><a href="#the-responsexml-attribute"><span class="secno">4.8.10 </span>The <code title="">responseXML</code> attribute</a></ol></li>
    <li><a href="#events"><span class="secno">4.9 </span>Events summary</a></ol></li>
- <li><a href="#interface-formdata"><span class="secno">5 </span>Interface <code title="">FormData</code></a>
-  <ol class="toc">
-   <li><a href="#formdata-constructors"><span class="secno">5.1 </span>Constructors</a></li>
-   <li><a href="#the-append()-method"><span class="secno">5.2 </span>The <code title="">append()</code> method</a></ol></li>
+ <li><a href="#interface-formdata"><span class="secno">5 </span>Interface <code title="">FormData</code></a></li>
  <li><a href="#data:-urls-and-http"><span class="secno">6 </span><code>data:</code> URLs and HTTP</a></li>
  <li><a class="no-num" href="#references">References</a></li>
  <li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ol>
@@ -2748,26 +2745,26 @@
 
 
 
-  <h2 id="interface-formdata"><span class="secno">5 </span>Interface <code title="">FormData</code></h2>
-
-  <p>The <code><a href="#formdata">FormData</a></code> object represents an ordered collection of
-  entries. Each entry has a name, a value, a type, and optionally a
-  filename (if type is "file").</p>
-
-  <pre class="idl">[<a href="#dom-formdata" title="dom-FormData">Constructor</a>(optional <a class="external" href="http://dev.w3.org/html5/spec/the-form-element.html#htmlformelement">HTMLFormElement</a> <var>form</var>)]
+<h2 id="interface-formdata"><span class="secno">5 </span>Interface <code title="">FormData</code></h2>
+
+<p>The <code><a href="#formdata">FormData</a></code> object represents an ordered collection of
+entries. Each entry has a name, a value, a type, and optionally a filename
+(if type is "file").
+
+<pre class="idl">[<a href="#dom-formdata" title="dom-FormData">Constructor</a>(optional <a class="external" href="http://dev.w3.org/html5/spec/the-form-element.html#htmlformelement">HTMLFormElement</a> <var>form</var>)]
 interface <dfn id="formdata">FormData</dfn> {
   void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(DOMString <var>name</var>, <a class="external" href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a> <var title="">value</var>, optional DOMString <var title="">filename</var>);
   void <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(DOMString <var>name</var>, DOMString <var>value</var>);
 };</pre>
 
-
-  <h3 id="formdata-constructors"><span class="secno">5.1 </span>Constructors</h3>
-
-  <dl class="domintro">
-   <dt><code><var title="">fd</var> = new <a href="#dom-formdata" title="dom-FormData">FormData</a>([<var title="">form</var>])</code>
-   <dd><p>Returns a new <code><a href="#formdata">FormData</a></code> object initialized with the
-   data from <var title="">form</var>.
-  </dl>
+<dl class="domintro">
+ <dt><code><var title="">fd</var> = new <a href="#dom-formdata" title="dom-FormData">FormData</a>([<var title="">form</var>])</code>
+ <dd><p>Returns a new <code><a href="#formdata">FormData</a></code> object, optionally initialized
+ with the data from <var title="">form</var> (if given).
+
+ <dt><code><var title="">fd</var> . <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<var title="">name</var>, <var title="">value</var> [, <var title="">filename</var>])</code>
+ <dd><p>Appends a new entry to the <code><a href="#formdata">FormData</a></code> object.
+</dl>
 
   <p>The
   <dfn id="dom-formdata" title="dom-FormData"><code>FormData(<var>form</var>)</code></dfn>
@@ -2784,33 +2781,29 @@
    <li><p>Return <var title="">fd</var>.
   </ol>
 
-  <h3 id="the-append()-method"><span class="secno">5.2 </span>The <code title="">append()</code> method</h3>
-
-  <dl class="domintro">
-   <dt><code><var title="">fd</var> . <a href="#dom-formdata-append" title="dom-FormData-append">append</a>(<var title="">name</var>, <var title="">value</var> [, <var title="">filename</var>])</code>
-   <dd><p>Appends a new name/value-pair to the <code><a href="#formdata">FormData</a></code>
-   object, optionally with a filename.
-  </dl>
-
-  <p>The
-  <dfn id="dom-formdata-append" title="dom-FormData-append"><code>append(<var>name</var>, <var>value</var>, <var>filename</var>)</code></dfn>
-  method must create a new entry with the following parameters set and
-  append it to the end of the collection the <code><a href="#formdata">FormData</a></code> object
-  represents:</p>
-  <ul>
-   <li>Set its name to <var>name</var>.
-   <li>Set its value to <var>value</var>.
-   <li>Set its type to "text" if <var>value</var> is a string and "file" if
-   it is a <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code>.
-   <li>If its type is "file" set its filename to  "<code title="">blob</code>".
-   <li>If its type is "file" and <var>value</var> is a
-   <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#file">File</a></code> whose
-   <code class="external" title="dom-File-name"><a href="http://dev.w3.org/2006/webapi/FileAPI/#dfn-name">name</a></code> attribute
-   is not the empty string, set entry's filename to the attribute's value.
-   <li>If the <var title="">filename</var> parameter is not omitted set entry's
-   filename to <var title="">filename</var>.
-  </ul>
-
+<p>The
+<dfn id="dom-formdata-append" title="dom-FormData-append"><code>append(<var>name</var>, <var>value</var>, <var>filename</var>)</code></dfn>
+method must create a new entry with the following parameters set and append
+it to the end of the collection the <code><a href="#formdata">FormData</a></code> object represents:
+
+<ul>
+ <li><p>Set its name to <var>name</var>.
+
+ <li><p>Set its value to <var>value</var>.
+
+ <li><p>Set its type to "text" if <var>value</var> is a string and "file" if
+ it is a <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code>.
+
+ <li><p>If its type is "file" set its filename to "<code title="">blob</code>".
+
+ <li><p>If its type is "file" and <var>value</var> is a
+ <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#file">File</a></code> whose
+ <code class="external" title="dom-File-name"><a href="http://dev.w3.org/2006/webapi/FileAPI/#dfn-name">name</a></code> attribute
+ is not the empty string, set entry's filename to the attribute's value.
+
+ <li><p>If the <var title="">filename</var> parameter is not omitted set
+ entry's filename to <var title="">filename</var>.
+</ul>
 
 
 <h2 id="data:-urls-and-http"><span class="secno">6 </span><code>data:</code> URLs and HTTP</h2>
--- a/Overview.src.html	Mon Nov 19 15:13:06 2012 +0900
+++ b/Overview.src.html	Mon Nov 19 15:45:11 2012 +0900
@@ -2712,26 +2712,26 @@
 
 
 
-  <h2>Interface <code title>FormData</code></h2>
-
-  <p>The <code>FormData</code> object represents an ordered collection of
-  entries. Each entry has a name, a value, a type, and optionally a
-  filename (if type is "file").</p>
-
-  <pre class="idl">[<span title="dom-FormData">Constructor</span>(optional <span data-anolis-spec=html>HTMLFormElement</span> <var>form</var>)]
+<h2>Interface <code title>FormData</code></h2>
+
+<p>The <code>FormData</code> object represents an ordered collection of
+entries. Each entry has a name, a value, a type, and optionally a filename
+(if type is "file").
+
+<pre class="idl">[<span title="dom-FormData">Constructor</span>(optional <span data-anolis-spec=html>HTMLFormElement</span> <var>form</var>)]
 interface <dfn>FormData</dfn> {
   void <span title="dom-FormData-append">append</span>(DOMString <var>name</var>, <span data-anolis-spec=fileapi>Blob</span> <var title>value</var>, optional DOMString <var title>filename</var>);
   void <span title="dom-FormData-append">append</span>(DOMString <var>name</var>, DOMString <var>value</var>);
 };</pre>
 
-
-  <h3 id="formdata-constructors">Constructors</h3>
-
-  <dl class=domintro>
-   <dt><code><var title>fd</var> = new <span title="dom-FormData">FormData</span>([<var title>form</var>])</code>
-   <dd><p>Returns a new <code>FormData</code> object initialized with the
-   data from <var title>form</var>.
-  </dl>
+<dl class=domintro>
+ <dt><code><var title>fd</var> = new <span title="dom-FormData">FormData</span>([<var title>form</var>])</code>
+ <dd><p>Returns a new <code>FormData</code> object, optionally initialized
+ with the data from <var title>form</var> (if given).
+
+ <dt><code><var title>fd</var> . <span title=dom-FormData-append>append</span>(<var title>name</var>, <var title>value</var> [, <var title>filename</var>])</code>
+ <dd><p>Appends a new entry to the <code>FormData</code> object.
+</dl>
 
   <p>The
   <dfn title="dom-FormData"><code>FormData(<var>form</var>)</code></dfn>
@@ -2748,33 +2748,29 @@
    <li><p>Return <var title>fd</var>.
   </ol>
 
-  <h3>The <code title>append()</code> method</h3>
-
-  <dl class=domintro>
-   <dt><code><var title>fd</var> . <span title=dom-FormData-append>append</span>(<var title>name</var>, <var title>value</var> [, <var title>filename</var>])</code>
-   <dd><p>Appends a new name/value-pair to the <code>FormData</code>
-   object, optionally with a filename.
-  </dl>
-
-  <p>The
-  <dfn title="dom-FormData-append" id="dom-formdata-append"><code>append(<var>name</var>, <var>value</var>, <var>filename</var>)</code></dfn>
-  method must create a new entry with the following parameters set and
-  append it to the end of the collection the <code>FormData</code> object
-  represents:</p>
-  <ul>
-   <li>Set its name to <var>name</var>.
-   <li>Set its value to <var>value</var>.
-   <li>Set its type to "text" if <var>value</var> is a string and "file" if
-   it is a <code data-anolis-spec=fileapi>Blob</code>.
-   <li>If its type is "file" set its filename to  "<code title>blob</code>".
-   <li>If its type is "file" and <var>value</var> is a
-   <code data-anolis-spec=fileapi>File</code> whose
-   <code data-anolis-spec=fileapi title=dom-File-name>name</code> attribute
-   is not the empty string, set entry's filename to the attribute's value.
-   <li>If the <var title>filename</var> parameter is not omitted set entry's
-   filename to <var title>filename</var>.
-  </ul>
-
+<p>The
+<dfn title="dom-FormData-append" id="dom-formdata-append"><code>append(<var>name</var>, <var>value</var>, <var>filename</var>)</code></dfn>
+method must create a new entry with the following parameters set and append
+it to the end of the collection the <code>FormData</code> object represents:
+
+<ul>
+ <li><p>Set its name to <var>name</var>.
+
+ <li><p>Set its value to <var>value</var>.
+
+ <li><p>Set its type to "text" if <var>value</var> is a string and "file" if
+ it is a <code data-anolis-spec=fileapi>Blob</code>.
+
+ <li><p>If its type is "file" set its filename to "<code title>blob</code>".
+
+ <li><p>If its type is "file" and <var>value</var> is a
+ <code data-anolis-spec=fileapi>File</code> whose
+ <code data-anolis-spec=fileapi title=dom-File-name>name</code> attribute
+ is not the empty string, set entry's filename to the attribute's value.
+
+ <li><p>If the <var title>filename</var> parameter is not omitted set
+ entry's filename to <var title>filename</var>.
+</ul>
 
 
 <h2><code>data:</code> URLs and HTTP</h2>