HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5676

SVNBugCommentTime (UTC)
567610809[Authors] [Conformance Checkers] [Gecko] [Internet Explorer] [Opera] [Webkit] Add dirname='' feature (may still be renamed or changed if someone comes up with a better solution)2010-11-11 00:44
Index: source
===================================================================
--- source	(revision 5675)
+++ source	(revision 5676)
@@ -42712,6 +42712,7 @@
    <dd><code title="attr-input-autocomplete">autocomplete</code></dd>
    <dd><code title="attr-fe-autofocus">autofocus</code></dd>
    <dd><code title="attr-input-checked">checked</code></dd>
+   <dd><code title="attr-input-dirname">dirname</code></dd>
    <dd><code title="attr-fe-disabled">disabled</code></dd>
    <dd><code title="attr-fae-form">form</code></dd>
    <dd><code title="attr-fs-formaction">formaction</code></dd>
@@ -42745,6 +42746,7 @@
            attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
            attribute boolean <span title="dom-input-defaultChecked">defaultChecked</span>;
            attribute boolean <span title="dom-input-checked">checked</span>;
+           attribute DOMString <span title="dom-input-dirName">dirName</span>;
            attribute boolean <span title="dom-fe-disabled">disabled</span>;
   readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
   readonly attribute <span>FileList</span> <span title="dom-input-files">files</span>;
@@ -42937,6 +42939,7 @@
   title="attr-input-alt">alt</code>, <code
   title="attr-input-autocomplete">autocomplete</code>, <code
   title="attr-input-checked">checked</code>, <code
+  title="attr-input-dirname">dirname</code>, <code
   title="attr-fs-formaction">formaction</code>, <code
   title="attr-fs-formenctype">formenctype</code>, <code
   title="attr-fs-formmethod">formmethod</code>, <code
@@ -42984,8 +42987,8 @@
      <th>
      <th> <span title=""><span title="attr-input-type-hidden">Hidden</span></span>
      <th> <span title=""><span title="attr-input-type-text">Text</span>,</span>
-          <span title=""><span title="attr-input-type-search">Search</span>,</span>
-          <span title=""><span title="attr-input-type-url">URL</span>,</span>
+          <span title=""><span title="attr-input-type-search">Search</span></span>
+     <th> <span title=""><span title="attr-input-type-url">URL</span>,</span>
           <span title=""><span title="attr-input-type-tel">Telephone</span></span>
      <th> <span title=""><span title="attr-input-type-email">E-mail</span></span>
      <th> <span title=""><span title="attr-input-type-password">Password</span></span>
@@ -43008,14 +43011,14 @@
 
    <tbody>
     <tr>
-     <th scope="rowgroup" colspan="14">Content attributes
+     <th scope="rowgroup" colspan="15">Content attributes
 
     <tr>
      <th> <code title="attr-input-accept">accept</code>
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43040,7 +43043,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43065,7 +43068,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43090,7 +43093,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43111,11 +43114,36 @@
 <!-- <td class="no"> &middot;      Button -->
 
     <tr>
+     <th> <code title="attr-input-dirname">dirname</code>
+     <td class="no"> &middot; <!-- Hidden -->
+     <td class="yes"> Yes     <!-- Text -->
+<!-- <td class="yes"> Yes          Search -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
+     <td class="no"> &middot; <!-- E-mail -->
+     <td class="no"> &middot; <!-- Password -->
+     <td class="no"> &middot; <!-- Date and Time -->
+<!-- <td class="no"> &middot;      Date -->
+<!-- <td class="no"> &middot;      Month -->
+<!-- <td class="no"> &middot;      Week -->
+<!-- <td class="no"> &middot;      Time -->
+     <td class="no"> &middot; <!-- Local Date and Time -->
+<!-- <td class="no"> &middot;      Number -->
+     <td class="no"> &middot; <!-- Range -->
+     <td class="no"> &middot; <!-- Color -->
+     <td class="no"> &middot; <!-- Checkbox -->
+<!-- <td class="no"> &middot;      Radio Button -->
+     <td class="no"> &middot; <!-- File Upload -->
+     <td class="no"> &middot; <!-- Submit Button -->
+     <td class="no"> &middot; <!-- Image Button -->
+     <td class="no"> &middot; <!-- Reset Button -->
+<!-- <td class="no"> &middot;      Button -->
+
+    <tr>
      <th> <code title="attr-fs-formaction">formaction</code>
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43140,7 +43168,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43165,7 +43193,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43190,7 +43218,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43215,7 +43243,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43240,7 +43268,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43265,7 +43293,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43290,7 +43318,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43315,7 +43343,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43340,7 +43368,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43365,7 +43393,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone --> <!-- if you change this, you can merge this line with the next to save room on the chart -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43390,7 +43418,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43415,7 +43443,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43440,7 +43468,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43465,7 +43493,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43490,7 +43518,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43515,7 +43543,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43540,7 +43568,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43565,7 +43593,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43587,14 +43615,14 @@
 
    <tbody>
     <tr>
-     <th scope="rowgroup" colspan="14">IDL attributes and methods
+     <th scope="rowgroup" colspan="15">IDL attributes and methods
 
     <tr>
      <th> <code title="dom-input-checked">checked</code>
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43619,7 +43647,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43644,7 +43672,7 @@
      <td class="yes"> <span title="dom-input-value-default">default</span> <!-- Hidden -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Text -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      Search -->
-<!-- <td class="yes"> <span title="dom-input-value-value">value</span>      URL -->
+     <td class="yes"> <span title="dom-input-value-value">value</span> <!-- URL, Telephone -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- E-mail -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Password -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Date and Time -->
@@ -43669,7 +43697,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43694,7 +43722,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43719,7 +43747,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43744,7 +43772,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43769,7 +43797,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43794,7 +43822,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43819,7 +43847,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43844,7 +43872,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="no"> &middot; <!-- Date and Time -->
@@ -43869,7 +43897,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43894,7 +43922,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="no"> &middot; <!-- Text -->
 <!-- <td class="no"> &middot;      Search -->
-<!-- <td class="no"> &middot;      URL -->
+     <td class="no"> &middot; <!-- URL, Telephone -->
      <td class="no"> &middot; <!-- E-mail -->
      <td class="no"> &middot; <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43916,14 +43944,14 @@
 
    <tbody>
     <tr>
-     <th scope="rowgroup" colspan="14">Events
+     <th scope="rowgroup" colspan="15">Events
 
     <tr>
      <th> <span title=""><code title="event-input-input">input</code> event</span>
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -43948,7 +43976,7 @@
      <td class="no"> &middot; <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
-<!-- <td class="yes"> Yes          URL -->
+     <td class="yes"> Yes     <!-- URL, Telephone -->
      <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
      <td class="yes"> Yes     <!-- Date and Time -->
@@ -44200,6 +44228,9 @@
   title="dom-input-step"><code>step</code></dfn> IDL attributes must
   <span>reflect</span> the respective content attributes of the same
   name. The <dfn
+  title="dom-input-dirName"><code>dirName</code></dfn> IDL attribute
+  must <span>reflect</span> the <code
+  title="attr-input-dirname">dirname</code> content attribute. The <dfn
   title="dom-input-readOnly"><code>readOnly</code></dfn> IDL attribute
   must <span>reflect</span> the <code
   title="attr-input-readonly">readonly</code> content attribute. The
@@ -44292,6 +44323,7 @@
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -44370,6 +44402,32 @@
   by the user. User agents must not allow users to insert U+000A LINE
   FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the
   element's <span title="concept-fe-value">value</span>.</p>
+
+  <!-- this next bit is also in the <textarea> section -->
+  <p>If the element is <i title="concept-input-mutable">mutable</i>,
+  the user agent should allow the user to change the writing direction
+  of the element, setting it either to a left-to-right writing
+  direction or a right-to-left writing direction. If the user does so,
+  the user agent must then run the following steps:</p>
+
+  <ol>
+
+   <li><p>Set the element's <code title="attr-dir">dir</code>
+   attribute to "<code title="attr-dir-ltr">ltr</code>" if the user
+   selected a left-to-right writing direction, and "<code
+   title="attr-dir-rtl">rtl</code>" if the user selected a
+   right-to-left writing direction.</p></li>
+
+   <li><p><span>Queue a task</span> to first <span>fire a simple
+   event</span> that bubbles named <code
+   title="event-input">input</code> at the <code>input</code> element,
+   and to then <span>broadcast <code
+   title="event-forminput">forminput</code> events</span> from the
+   <code>input</code> element's <span>form owner</span>, if
+   any.</p></li>
+
+  </ol>
+
   </div>
 
   <p>The <code title="attr-input-value">value</code> attribute, if
@@ -44389,6 +44447,7 @@
    <p>The following common <code>input</code> element content
    attributes, IDL attributes, and methods apply to the element:
    <code title="attr-input-autocomplete">autocomplete</code>,
+   <code title="attr-input-dirname">dirname</code>,
    <code title="attr-input-list">list</code>,
    <code title="attr-input-maxlength">maxlength</code>,
    <code title="attr-input-pattern">pattern</code>,
@@ -44523,6 +44582,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -44634,6 +44694,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -44816,6 +44877,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -44906,6 +44968,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45087,6 +45150,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45276,6 +45340,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45443,6 +45508,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45613,6 +45679,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45780,6 +45847,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -45931,6 +45999,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46104,6 +46173,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46293,6 +46363,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46456,6 +46527,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46535,10 +46607,10 @@
   steps</span> were run. The <span>activation behavior</span> is to
   <span>fire a simple event</span> that bubbles named <code
   title="event-change">change</code> at the element<!-- It's not
-  cancelable. Once this fires, the control is checked, end of
-  story. -->, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
-  element's <span>form owner</span>.</p>
+  cancelable. Once this fires, the control is checked, end of story.
+  -->, then <span>broadcast <code
+  title="event-formchange">formchange</code> events</span> from the
+  element's <span>form owner</span>, if any.</p>
 
   <p><strong>Constraint validation</strong>: If the element is <i
   title="concept-input-required">required</i> and its <span
@@ -46580,6 +46652,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46700,8 +46773,8 @@
   title="event-change">change</code> at the element<!-- It's not
   cancelable. Once this fires, the control is checked, end of
   story. -->, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
-  element's <span>form owner</span>.</p>
+  title="event-formchange">formchange</code> events</span> from the
+  element's <span>form owner</span>, if any.</p>
 
   <p><strong>Constraint validation</strong>: If the element is <i
   title="concept-input-required">required</i> and all of the
@@ -46737,6 +46810,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -46932,6 +47006,7 @@
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -47039,6 +47114,7 @@
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-dim-height">height</code>,
    <code class="no-backref" title="attr-input-list">list</code>,
    <code class="no-backref" title="attr-input-max">max</code>,
@@ -47315,6 +47391,7 @@
    <code class="no-backref" title="attr-input-accept">accept</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-input-list">list</code>,
    <code class="no-backref" title="attr-input-max">max</code>,
    <code class="no-backref" title="attr-input-maxlength">maxlength</code>,
@@ -47404,6 +47481,7 @@
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -47489,6 +47567,7 @@
    <code class="no-backref" title="attr-input-alt">alt</code>,
    <code class="no-backref" title="attr-input-autocomplete">autocomplete</code>,
    <code class="no-backref" title="attr-input-checked">checked</code>,
+   <code class="no-backref" title="attr-input-dirname">dirname</code>,
    <code class="no-backref" title="attr-fs-formaction">formaction</code>,
    <code class="no-backref" title="attr-fs-formenctype">formenctype</code>,
    <code class="no-backref" title="attr-fs-formmethod">formmethod</code>,
@@ -47670,7 +47749,39 @@
   </div>
 
 
+  <h6>The <code title="attr-input-dirname">dirname</code> attribute</h6>
 
+  <p>The <dfn title="attr-input-dirname"><code>dirname</code></dfn>
+  attribute, when it applies, is a <span>form control <code
+  title="">dirname</code> attribute</span>.</p>
+
+  <div class="example">
+
+   <p>In this example, a form contains a text field and a submission
+   button:</p>
+
+   <pre>&lt;form action="addcomment.cgi" method=post>
+ &lt;p>&lt;label>Comment: &lt;input type=text name="comment" dirname="comment.dir" required>&lt;/label>&lt;/p>
+ &lt;p>&lt;button name="mode" type=submit value="add">Post Comment&lt;/button>&lt;/p>
+&lt;/form></pre>
+
+   <p>When the user submits the form, the user agent includes three
+   fields, one called "comment", one called "comment.dir", and one
+   called "mode"; so if the user types "Hello", the submission body
+   might be something like:</p>
+
+   <pre>comment=Hello&amp;<strong>comment.dir=ltr</strong>&amp;mode=add</pre>
+
+   <p>If the user manually switches to a right-to-left writing
+   direction and enters "<span title="" dir=rtl
+   lang=ar>&#x645;&#x631;&#x62d;&#x628;&#x64b;&#x627;</span>", the
+   submission body might be something like:</p>
+
+   <pre>comment=%D9%85%D8%B1%D8%AD%D8%A8%D9%8B%D8%A7&amp;<strong>comment.dir=rtl</strong>&amp;mode=add</pre>
+
+  </div>
+
+
   <h6>The <code title="attr-input-list">list</code> attribute</h6>
 
   <p>The <dfn title="attr-input-list"><code>list</code></dfn>
@@ -48704,16 +48815,17 @@
   <p>When the <dfn title="event-input-input"><code>input</code></dfn>
   event applies, any time the user causes the element's <span
   title="concept-fe-value">value</span> to change, the user agent must
-  <span>queue a task</span> to <span>fire a simple event</span> that
-  bubbles named <code title="event-input">input</code> at the
-  <code>input</code> element, then <span>broadcast <code
-  title="event-forminput">forminput</code> events</span> at the
-  <code>input</code> element's <span>form owner</span>. User agents
-  may wait for a suitable break in the user's interaction before
-  queuing the task; for example, a user agent could wait for the user
-  to have not hit a key for 100ms, so as to only fire the event when
-  the user pauses, instead of continuously for each keystroke.</p>
-  <!-- same text is present in the <textarea> section -->
+  <span>queue a task</span> to first <span>fire a simple event</span>
+  that bubbles named <code title="event-input">input</code> at the
+  <code>input</code> element, and then to <span>broadcast <code
+  title="event-forminput">forminput</code> events</span> from the
+  <code>input</code> element's <span>form owner</span>, if any. User
+  agents may wait for a suitable break in the user's interaction
+  before queuing the task; for example, a user agent could wait for
+  the user to have not hit a key for 100ms, so as to only fire the
+  event when the user pauses, instead of continuously for each
+  keystroke.</p> <!-- same text is present in the <textarea> section
+  -->
 
   <p class="example">Examples of a user changing the element's <span
   title="concept-fe-value">value</span> would include the user typing
@@ -48730,12 +48842,12 @@
   action, then any time the user commits a change to the element's
   <span title="concept-fe-value">value</span> or list of <span
   title="concept-input-type-file-selected">selected files</span>, the
-  user agent must <span>queue a task</span> to <span>fire a simple
-  event</span> that bubbles named <code
+  user agent must <span>queue a task</span> to first <span>fire a
+  simple event</span> that bubbles named <code
   title="event-change">change</code> at the <code>input</code>
-  element, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
-  <code>input</code> element's <span>form owner</span>.</p>
+  element, and then to <span>broadcast <code
+  title="event-formchange">formchange</code> events</span> from the
+  <code>input</code> element's <span>form owner</span>, if any.</p>
 
   <p class="example">An example of a user interface with a commit
   action would be a <span title="attr-input-type-file">File
@@ -48766,9 +48878,9 @@
    element.</li>
 
    <li>If the <code title="event-input-input">input</code> event
-   applies, <span>broadcast <code
-   title="event-forminput">forminput</code> events</span> at the
-   <code>input</code> element's <span>form owner</span>.</li>
+   applies, <span>queue a task</span> to <span>broadcast <code
+   title="event-forminput">forminput</code> events</span> from the
+   <code>input</code> element's <span>form owner</span>, if any.</li>
 
    <li>If the <code title="event-input-change">change</code> event
    applies, <span>queue a task</span> to <span>fire a simple
@@ -48777,9 +48889,9 @@
    element.</li>
 
    <li>If the <code title="event-input-change">change</code> event
-   applies, <span>broadcast <code
-   title="event-formchange">formchange</code> events</span> at the
-   <code>input</code> element's <span>form owner</span>.</li>
+   applies, <span>queue a task</span> to <span>broadcast <code
+   title="event-formchange">formchange</code> events</span> from the
+   <code>input</code> element's <span>form owner</span>, if any.</li>
 
   </ol>
 
@@ -49165,9 +49277,8 @@
   title="concept-fe-disabled">disabled</span>, then the user agent
   should allow the user to pick an <code>option</code> element in its
   <span title="concept-select-option-list">list of options</span> that
-  is itself not <span
-  title="concept-option-disabled">disabled</span>. Upon this
-  <code>option</code> element being <dfn
+  is itself not <span title="concept-option-disabled">disabled</span>.
+  Upon this <code>option</code> element being <dfn
   title="concept-select-pick">picked</dfn> (either through a click, or
   through unfocusing the element after changing its value, or through
   a <span title="option-command">menu command</span>, or through any
@@ -49177,11 +49288,11 @@
   set the <span
   title="concept-option-selectedness">selectedness</span> of the
   picked <code>option</code> element to true and then <span>queue a
-  task</span> to <span>fire a simple event</span> that bubbles named
-  <code title="event-change">change</code> at the <code>select</code>
-  element, using the <span>user interaction task source</span> as the
-  task source, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
+  task</span> to first <span>fire a simple event</span> that bubbles
+  named <code title="event-change">change</code> at the
+  <code>select</code> element, using the <span>user interaction task
+  source</span> as the task source, and then to <span>broadcast <code
+  title="event-formchange">formchange</code> events</span> from the
   element's <span>form owner</span>.</p>
 
   <p>If the <code title="attr-select-multiple">multiple</code>
@@ -49211,11 +49322,11 @@
   title="event-click">click</code> event), the user agent must set the
   <span title="concept-option-selectedness">selectedness</span> of
   that <code>option</code> element to false and then <span>queue a
-  task</span> to <span>fire a simple event</span> that bubbles named
-  <code title="event-change">change</code> at the <code>select</code>
-  element, using the <span>user interaction task source</span> as the
-  task source, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
+  task</span> to first <span>fire a simple event</span> that bubbles
+  named <code title="event-change">change</code> at the
+  <code>select</code> element, using the <span>user interaction task
+  source</span> as the task source, and then to <span>broadcast <code
+  title="event-formchange">formchange</code> events</span> from the
   element's <span>form owner</span>.</p>
 
   <p>If the <code title="attr-select-multiple">multiple</code>
@@ -49243,18 +49354,18 @@
   title="concept-select-option-list">list of options</span> that are
   themselves not <span title="concept-option-disabled">disabled</span>
   (either through a click, or through a <span
-  title="option-command">menu command</span>, or any other
-  mechanism). Upon the <span
+  title="option-command">menu command</span>, or any other mechanism).
+  Upon the <span
   title="concept-option-selectedness">selectedness</span> of one or
   more <code>option</code> elements being changed by the user, and
   before the relevant user interaction event <!-- interaction event
   spec point --> is queued (e.g. before a related <code
   title="event-click">click</code> event), the user agent must
-  <span>queue a task</span> to <span>fire a simple event</span> that
-  bubbles named <code title="event-change">change</code> at the
+  <span>queue a task</span> to first <span>fire a simple event</span>
+  that bubbles named <code title="event-change">change</code> at the
   <code>select</code> element, using the <span>user interaction task
-  source</span> as the task source, then <span>broadcast <code
-  title="event-formchange">formchange</code> events</span> at the
+  source</span> as the task source, and then to <span>broadcast <code
+  title="event-formchange">formchange</code> events</span> from the
   element's <span>form owner</span>.</p>
 
   <p>The <span title="concept-form-reset-control">reset
@@ -50006,6 +50117,7 @@
    <dd><code title="attr-fe-autofocus">autofocus</code></dd>
    <dd><code title="attr-textarea-cols">cols</code></dd>
    <dd><code title="attr-fe-disabled">disabled</code></dd>
+   <dd><code title="attr-textarea-dirname">dirname</code></dd>
    <dd><code title="attr-fae-form">form</code></dd>
    <dd><code title="attr-textarea-maxlength">maxlength</code></dd>
    <dd><code title="attr-fe-name">name</code></dd>
@@ -50020,6 +50132,7 @@
            attribute boolean <span title="dom-fe-autofocus">autofocus</span>;
            attribute unsigned long <span title="dom-textarea-cols">cols</span>;
            attribute boolean <span title="dom-fe-disabled">disabled</span>;
+           attribute DOMString <span title="dom-textarea-dirName">dirName</span>;
   readonly attribute <span>HTMLFormElement</span> <span title="dom-fae-form">form</span>;
            attribute long <span title="dom-textarea-maxLength">maxLength</span>;
            attribute DOMString <span title="dom-fe-name">name</span>;
@@ -50087,11 +50200,11 @@
   title="concept-textarea-raw-value">raw value</span> should be
   editable by the user. Any time the user causes the element's <span
   title="concept-textarea-raw-value">raw value</span> to change, the
-  user agent must <span>queue a task</span> to <span>fire a simple
-  event</span> that bubbles named <code
+  user agent must <span>queue a task</span> to first <span>fire a
+  simple event</span> that bubbles named <code
   title="event-input">input</code> at the <code>textarea</code>
-  element, then <span>broadcast <code
-  title="event-forminput">forminput</code> events</span> at the
+  element, and then to <span>broadcast <code
+  title="event-forminput">forminput</code> events</span> from the
   <code>textarea</code> element's <span>form owner</span>. User agents
   may wait for a suitable break in the user's interaction before
   queuing the task; for example, a user agent could wait for the user
@@ -50118,6 +50231,32 @@
   the value of the element's <code>textContent</code> IDL
   attribute.</p>
 
+  <!-- this next bit is also in the <input> Text/Search section -->
+  <p>If the element is <span
+  title="concept-textarea-mutable">mutable</span>, the user agent
+  should allow the user to change the writing direction of the
+  element, setting it either to a left-to-right writing direction or a
+  right-to-left writing direction. If the user does so, the user agent
+  must then run the following steps:</p>
+
+  <ol>
+
+   <li><p>Set the element's <code title="attr-dir">dir</code>
+   attribute to "<code title="attr-dir-ltr">ltr</code>" if the user
+   selected a left-to-right writing direction, and "<code
+   title="attr-dir-rtl">rtl</code>" if the user selected a
+   right-to-left writing direction.</p></li>
+
+   <li><p><span>Queue a task</span> to first <span>fire a simple
+   event</span> that bubbles named <code
+   title="event-input">input</code> at the <code>textarea</code>
+   element, and to then <span>broadcast <code
+   title="event-forminput">forminput</code> events</span> from the
+   <code>textarea</code> element's <span>form owner</span>, if
+   any.</p></li>
+
+  </ol>
+
   </div>
 
   <p>The <dfn title="attr-textarea-cols"><code>cols</code></dfn>
@@ -50280,6 +50419,9 @@
 
   </div>
 
+  <p>The <dfn title="attr-textarea-dirname"><code>dirname</code></dfn>
+  attribute is a <span>form control <code title="">dirname</code>
+  attribute</span>.</p>
 
   <p>The <code title="attr-fae-form">form</code> attribute is used to
   explicitly associate the <code>textarea</code> element with its
@@ -50326,8 +50468,11 @@
   title="dom-textarea-cols">cols</code> attribute's default value is
   20. The <code title="dom-textarea-rows">rows</code> attribute's
   default value is 2. The <dfn
-  title="dom-textarea-maxLength"><code>maxLength</code></dfn> IDL
+  title="dom-textarea-dirName"><code>dirName</code></dfn> IDL
   attribute must <span>reflect</span> the <code
+  title="attr-textarea-dirname">dirname</code> content attribute. The
+  <dfn title="dom-textarea-maxLength"><code>maxLength</code></dfn> IDL
+  attribute must <span>reflect</span> the <code
   title="attr-textarea-maxlength">maxlength</code> content attribute,
   <span>limited to only non-negative numbers</span>. The <dfn
   title="dom-textarea-readOnly"><code>readOnly</code></dfn> IDL
@@ -50384,6 +50529,24 @@
 
    <pre>&lt;p>If you have any comments, please let us know: &lt;textarea cols=80 name=comments>&lt;/textarea>&lt;/p></pre>
 
+   <p>To specify that a maximum length for the comments, one can use
+   the <code title="attr-textarea-maxlength">maxlength</code>
+   attribute:</p>
+
+   <pre>&lt;p>If you have any short comments, please let us know: &lt;textarea cols=80 name=comments maxlength=200>&lt;/textarea>&lt;/p></pre>
+
+   <p>To give a default value, text can be included inside the element:</p>
+
+   <pre>&lt;p>If you have any comments, please let us know: &lt;textarea cols=80 name=comments>You rock!&lt;/textarea>&lt;/p></pre>
+
+   <p>To have the browser submit <span>the directionality</span> of
+   the element along with the value, the <code
+   title="attr-textarea-dirname">dirname</code> attribute can be
+   specified:</p>
+
+   <pre>&lt;p>If you have any comments, please let us know (you may use either English or Hebrew for your comments):
+&lt;textarea cols=80 name=comments dirname=comments.dir>&lt;/textarea>&lt;/p></pre>
+
   </div>
 
 
@@ -52105,7 +52268,16 @@
   </div>
 
 
+  <h5>Submitting element directionality</h5>
 
+  <p>A <dfn>form control <code title="">dirname</code> attribute</dfn>
+  on a form control element enables the submission of <span>the
+  directionality</span> of the element, and gives the name of the
+  field that contains this value during <span>form submission</span>.
+  If such an attribute is specified, its value must not be the empty
+  string.</p>
+
+
   <h4 id="textFieldSelection">APIs for the text field selections</h4>
 
   <!-- v2 idea: DOM Range APIs to expose the textarea/input edited
@@ -52973,12 +53145,12 @@
        title="">y</var>-component of the coordinate selected by the
        user.</p></li>
 
-       <li><p>Append an entry in the <var title="">form data set</var>
+       <li><p>Append an entry to the <var title="">form data set</var>
        with the name <var title="">name<sub title="">x</sub></var>,
        the value <var title="">x</var>, and the type <var
        title="">type</var>.</p></li>
 
-       <li><p>Append an entry in the <var title="">form data set</var>
+       <li><p>Append an entry to the <var title="">form data set</var>
        with the name <var title="">name<sub title="">y</sub></var> and
        the value <var title="">y</var>, and the type <var
        title="">type</var>.</p></li>
@@ -53002,7 +53174,7 @@
      <code>select</code> element, then for each <code>option</code>
      element in the <code>select</code> element whose <span
      title="concept-option-selectedness">selectedness</span> is true,
-     append an entry in the <var title="">form data set</var> with the
+     append an entry to the <var title="">form data set</var> with the
      <var title="">name</var> as the name, the <span
      title="concept-option-value">value</span> of the
      <code>option</code> element as the value, and <var
@@ -53025,7 +53197,7 @@
        otherwise, let <var title="">value</var> be the string
        "<code title="">on</code>".</p></li>
 
-       <li><p>Append an entry in the <var title="">form data set</var>
+       <li><p>Append an entry to the <var title="">form data set</var>
        with <var title="">name</var> as the name, <var
        title="">value</var> as the value, and <var title="">type</var>
        as the type.</p></li>
@@ -53040,13 +53212,13 @@
      title="attr-input-type-file">File Upload</span> state, then for
      each file <span
      title="concept-input-type-file-selected">selected</span> in the
-     <code>input</code> element, append an entry in the <var
+     <code>input</code> element, append an entry to the <var
      title="">form data set</var> with the <var title="">name</var> as
      the name, the file (consisting of the name, the type, and the
      body) as the value, and <var title="">type</var> as the type. If
      there are no <span
      title="concept-input-type-file-selected">selected files</span>,
-     then append an entry in the <var title="">form data set</var>
+     then append an entry to the <var title="">form data set</var>
      with the <var title="">name</var> as the name, the empty string
      as the value, and <code>application/octet-stream</code> as the
      type.</p></li>
@@ -53056,17 +53228,52 @@
      <code>object</code> element: try to obtain a form submission
      value from the <span>plugin</span><!-- using NPAPI's
      NPP_GetValue() entry point with the NPPVformValue variable -->,
-     and if that is successful, append an entry in the <var
+     and if that is successful, append an entry to the <var
      title="">form data set</var> with <var title="">name</var> as the
      name, the returned form submission value as the value, and the
      string "<code title="">object</code>" as the type.</p></li>
 
-     <li><p>Otherwise, append an entry in the <var title="">form data
+     <li><p>Otherwise, append an entry to the <var title="">form data
      set</var> with <var title="">name</var> as the name, the <span
      title="concept-fe-value">value</span> of the <var
      title="">field</var> element as the value, and <var
      title="">type</var> as the type.</p></li>
 
+     <li>
+
+      <p>If the element has a <span>form control <code
+      title="">dirname</code> attribute</span>, and that attribute's
+      value is not the empty string, then run these substeps:</p>
+
+      <ol>
+
+       <li><p>Let <var title="">dirname</var> be the value of the
+       element's <code title="">dirname</code> attribute.</p></li>
+
+       <li><p>Let <var title="">dir</var> be the string "<code
+       title="">ltr</code>" if <span>the directionality</span> of the
+       element is '<span title="concept-ltr">ltr</span>', and "<code
+       title="">rtl</code>" otherwise (i.e. when <span>the
+       directionality</span> of the element is '<span
+       title="concept-rtl">rtl</span>').</p></li>
+
+       <li><p>Append an entry to the <var title="">form data set</var>
+       with <var title="">dirname</var> as the name, <var
+       title="">dir</var> as the value, and the string "<code
+       title="">direction</code>" as the type.</p></li>
+
+      </ol>
+
+      <p class="note">An element can only have a <span>form control
+      <code title="">dirname</code> attribute</span> if it is a
+      <code>textarea</code> element or an <code>input</code> element
+      whose <code title="attr-input-type">type</code> attribute is in
+      either the <span title="attr-input-type-text">Text</span> state
+      or the <span title="attr-input-type-search">Search</span>
+      state.</p>
+
+     </li>
+
     </ol>
 
    </li>
@@ -102546,6 +102753,7 @@
          <code title="attr-input-autocomplete">autocomplete</code>;
          <code title="attr-fe-autofocus">autofocus</code>;
          <code title="attr-input-checked">checked</code>;
+         <code title="attr-input-dirname">dirname</code>;
          <code title="attr-fe-disabled">disabled</code>;
          <code title="attr-fae-form">form</code>;
          <code title="attr-fs-formaction">formaction</code>;
@@ -103852,6 +104060,12 @@
      <td> <span title="the directionality">The text directionality</span> of the element
      <td> "<code title="">ltr</code>"; "<code title="">rtl</code>"
     <tr>
+     <th> <code title="">dirname</code>
+     <td> <code title="attr-input-dirname">input</code>;
+          <code title="attr-textarea-dirname">textarea</code>
+     <td> Name of form field to use for sending the element's <span title="the directionality">directionality</span> in <span>form submission</span>
+     <td> <a href="#attribute-text">Text</a>*
+    <tr>
      <th> <code title="">disabled</code>
      <td> <code title="attr-fe-disabled">button</code>;
           <code title="attr-command-disabled">command</code>;

|