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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: 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>

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

              Created:
              Updated:
              Imported:
              Indexed: