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

JEditorPane: Using different style tags is producing weird results

XMLWordPrintable

    • Fix Understood
    • sparc
    • solaris_2.6

      When viewing the following sample HTML file and comparing it to Netscape, new lines are inserted where they shouldn't be. View the following file and compare it to Netscape to get a better idea.


      <!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 Text Level Element Font Style elements</h1>
      <h2>Definition</h2>These all require start and end tags<br>
      Text level elements must be properly nested
      <hr>
      <h2>Expected Results</h2>
      Each element should display properly (compare to netscape if in doubt)<br>
      and No Html Errors are Found




      <p>This paragraph tests the <b>bold style element w/o end tag.
      <p>This paragraph tests the <b>bold <i>italic style element w/o end tag.</b>
      <p>This paragraph tests the <i>italic style element w/o end tag.
      <p>This paragraph tests the <tt>teletype style element w/o end tag.
      <p>This paragraph tests the <u>underlined style element w/o end tag.
      <p>This paragraph tests the <strike>strike style element w/o end tag.
      <p>This paragraph tests the <big>big style element w/o end tag.
      <p>This paragraph tests the <small>small style element w/o end tag.
      <p>This paragraph tests the <sub>sub style element w/o end tag.
      <p>This paragraph tests the <sup>sup style element w/o end tag.


      </BODY>
      </HTML>



      edmund.lou@eng 1999-10-19

            peterz Peter Zhelezniakov
            elousunw Edmund Lou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: