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

stddoclet: COLSPAN=3 creates an extra column in the first row of the navbar

XMLWordPrintable

    • b32
    • x86
    • windows_2000



      Name: nt126004 Date: 04/08/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      FULL OPERATING SYSTEM VERSION : Microsoft Windows 2000
      [Version 5.00.2195]



      A DESCRIPTION OF THE PROBLEM :
      Javadoc creates bad HTML in the navbar. Thre structure of
      that table, as generated on a class documentation page, is
      as follows:

      <TABLE>
        <TR>
          <TD COLSPAN=3></TD>
          <TD ROWSPAN=3></TD>
        </TR>
        <TR>
          <TD></TD>
          <TD></TD>
        </TR>
        <TR>
          <TD></TD>
          <TD></TD>
        </TR>
      </TABLE>

      So the first row ends up with 4 columns (three for the
      first TD and one for the last TD) while the other two rows
      have only 3 each (two for each TD in the row and one for
      the last three-row TD on the first row).

      Aditionally, on the pages where the navbar has only two
      rows, the last TD on the first row still has rowspan=3,
      which gives that column an extra row.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Generate javadoc documentation
      2. Inspect the Navbar area of the generated files.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The expected table structure is as follows for a class:

      <TABLE>
        <TR>
          <TD COLSPAN=2></TD>
          <TD ROWSPAN=3></TD>
        </TR>
        <TR>
          <TD></TD>
          <TD></TD>
        </TR>
        <TR>
          <TD></TD>
          <TD></TD>
        </TR>
      </TABLE>

      and as follows for other pages:

      <TABLE>
        <TR>
          <TD COLSPAN=2></TD>
          <TD ROWSPAN=2></TD>
        </TR>
        <TR>
          <TD></TD>
          <TD></TD>
        </TR>
      </TABLE>

      The actual results are as described in the description.

      This bug can be reproduced always.
      (Review ID: 144912)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: