ikedam commented on Bug JENKINS-21497

xunit-plugin generates broken HTML like this:

        <tr>
          <td class="setting-leftspace"> </td>
          <td class="setting-name">Choose your threshold mode</td>
          <td class="setting-main">
           <input name="thresholdMode" value="1" type="radio" checked="true" />
           <label class="attach-previous">Use a number of tests</label>
           <br />
           <input name="thresholdMode" value="2" type="radio" /><label class="attach-previous">Use a percent of tests</label>
          </td>
        </tr>
        <tr class="validation-error-area"><td colspan="2"></td><td></td></tr>
      </tbody></table>
    </td></tr>
  </td></tr>
  <br /><br />  <!-- This is wrong HTML!!!! -->
  <tr><td colspan="3">
    <tr>
      <td></td>
      <td></td>
      <td>

Web browsers converts this HTML like this:

...
<tr class="dropdownList-container">
  <td colspan="2"></td>
  <td colspan="2">
    <br /><br />  <!-- wrong HTML comes here -->
    <table name="publisher" width="100%">
    <tbody>
      <tr class="dropdownList-start rowvg-start">
      <td style="display:none">
         <input name="stapler-class" value="hudson.tasks.test.AggregatedTestResultPublisher" type="hidden">
      </td>
...

This cause dropdownList work wrong as invalid "br" tags prevents it find out "tr.dropdownList-start".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to