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

Improve fix for line break calculations

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b110
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The fix made under JDK-8014863 is not full. JDK 7 and 8 still have some problems with line break calculation.

        Steps to reproduce:
        1. Run HTMLEditorTest.java (attached).
        2. Place the cursor at the beginning of the first line and then type "one two ".

        After the last space been entered the first line is incorrectly broken after the "this is" where we'd expect to see at least "this is a test" on the first line.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmarkov Dmitry Markov
                  Reporter:
                  dmarkov Dmitry Markov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: