Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218765

doclet not creating a <thead> in the table of the list of types in a package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 13
    • tools
    • None

      Seen in output for a simple test case for javadoc ...

      This is for no modules, and a package containing three classes. The HTML is for the list of classes on the package summary page:


      <main role="main">
      <div class="header">
      <h1 title="Package" class="title">Package&nbsp;pb2</h1>
      </div>
      <div class="contentContainer">
      <ul class="blockList">
      <li class="blockList">
      <table class="typeSummary">
      <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
      <tr>
      <th class="colFirst" scope="col">Class</th>
      <th class="colLast" scope="col">Description</th>
      </tr>
      <tbody>
      <tr class="altColor">
      <th class="colFirst" scope="row"><a href="Alpha.html" title="class in pb2">Alpha</a></th>
      <td class="colLast">
      <div class="block">Class mb/pb2/Alpha.</div>
      </td>
      </tr>
      <tr class="rowColor">
      <th class="colFirst" scope="row"><a href="Beta.html" title="class in pb2">Beta</a></th>
      <td class="colLast">
      <div class="block">Modified Class mb/pb2/Beta.</div>
      </td>
      </tr>
      <tr class="altColor">
      <th class="colFirst" scope="row"><a href="Gamma.html" title="class in pb2">Gamma</a></th>
      <td class="colLast">
      <div class="block">Class mb/pb2/Gamma.</div>
      </td>
      </tr>
      </tbody>
      </table>
      </li>
      </ul>
      </div>
      </main>


      Note that between the <caption> element and the <tbody> element is a header row that is not enclosed in <thead>, but which should be.

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: