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

The content inside <sup> tags is not rendering properly in EditorPane with RTL orientation.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 6u2
    • client-libs

      Bug Info:
      =========
      I tried to load a html file which contains a <sup> tag in editorpane and I found that the content inside the sup tag is not properly rendering in RTL orientation.But in LTR orientation its working fine.

      I have written the following tag in html file

        4C<sup>2</sup> = 4!/<sup>(4-2!)*2!</sup>

      and expected the following output in both LTR/RTL orientation.

      4C2 = 4!/(4-2)! * 2!

      In LTR orientation i have seen the above specified output but in RTL orientation the output is bit different.
      !4C2 = 4!/(4-2)!*2

      JDK Info
      =========
      java version "1.6.0_02-ea"
      Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
      Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)

      Steps to Reproduce:
      ===================
      1. Download the attached java file and execute with above specified version.
      2. Execute the java file.
      ${JAVA_HOME}/bin/java JEditorPaneTest sample.html

      Please find the attached image file to refer the issue.

            peterz Peter Zhelezniakov
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: