<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - form.elements should reflect the element ordering after the HTML tree builder algorithm"
   href="https://bugs.webkit.org/show_bug.cgi?id=148870">148870</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>form.elements should reflect the element ordering after the HTML tree builder algorithm
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Forms
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rniwa&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>benjamin&#64;webkit.org, cdumez&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When the HTML tree builder algorithm re-orders elements inside table, etc...
form.elements should be updated to reflect such re-ordering.

e.g. parsing the following HTML
&lt;form id=form&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input type=&quot;radio&quot; name=&quot;radio1&quot; id=&quot;r1&quot; value=1&gt;&lt;/td&gt;
&lt;td&gt;&lt;input type=&quot;radio&quot; name=&quot;radio2&quot; id=&quot;r2&quot; value=2&gt;&lt;/td&gt;
&lt;input type=&quot;radio&quot;  name=&quot;radio0&quot; id=&quot;r0&quot; value=0&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;

should put r0 at form.elements[0].</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>