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

JEditorPane: TD NOWRAP tag does not work.

XMLWordPrintable

    • kestrel
    • sparc
    • solaris_2.6
    • Verified

      The <TABLE> in JEditorPane still wraps the text even though the NOWRAP tag specifies not to.

      Here is a sample HTML file:

      <!DOCTYPE HTML PUBLIC "-//HotJava QA//DTD HTML 3.2//EN">
      <HTML>
      <HEAD>
      <TITLE>Testing HotJava based on the 3.2 html spec</TITLE>
      </HEAD>
      <BODY>

      <h1>Tests Table Cell Nowrap attribute</h1>
      <table border=1>
      <caption>This Table Has Nowrap on the First Cell</caption>
      <tr><td nowrap>the sentence in this table cell will not get wrapped to a new lin
      e due to the lovely nowrap attribute being applied to the td tag within this tab
      le.<td>second cell<td>third cell
      </table>



      </BODY>
      </HTML>

      edmund.lou@eng 1999-10-19

            tprinzing Tim Prinzing (Inactive)
            elousunw Edmund Lou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: