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

Editing around BR elements causes BR element to grow in size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0_02
    • 1.1.7, 1.3.0
    • client-libs
    • None
    • 02
    • x86
    • windows_98, windows_nt
    • Verified

        When you type text in a JEditorPane, next to a BR, the text is added to the Element representing the BR. The BR should ONLY contain the single fake character. Otherwise when outputting the html, as well as displaying it, the text is wrong. Here is a test case, bring it up, position the cursor at the beginning of the text titled 'second line', type a couple characters and click 'example html', notice in the outputted html the new characters aren't present.

              svioletsunw Scott Violet (Inactive)
              svioletsunw Scott Violet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: