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

JEditorPane and JTextPane show <small> and <big> with wrong font size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs

      The <small> and <big> HTML tags are show text with a wrong size. Inside of a <font>
      tag this attributes are ignored. In other text is produce ever the same size. The
      attached test program show the follow simple HTML
       

      <html>
      <body>
      <font size="1">size 1 normaler text <small>small</small> <big>big</big></font> <br>
      <font size="2">size 2 normaler text <small>small</small> <big>big</big></font> <br>
      <font size="3">size 3 normaler text <small>small</small> <big>big</big></font> <br>

      <font size="4">size 4 normaler text <small>small</small> <big>big</big></font> <br>
      <font size="5">size 5 normaler text <small>small</small> <big>big</big></font> <br>
      <font size="6">size 6 normaler text <small>small</small> <big>big</big></font> <br>

      <h1>h1 normaler text <small>small</small> <big>big</big></h1>
      <h2>h2 normaler text <small>small</small> <big>big</big></h2>
      <h3>h3 normaler text <small>small</small> <big>big</big></h3>
      <h4>h4 normaler text <small>small</small> <big>big</big></h4>

      <h5>h5 normaler text <small>small</small> <big>big</big></h5>
      <h6>h6 normaler text <small>small</small> <big>big</big></h6>
      </body>
      </html>

            peterz Peter Zhelezniakov
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: