[Webkit-unassigned] [Bug 167527] New: Regression: Selection highlight is drawn incorrectly when selecting the last two <br> elements in a block-level element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 27 14:01:10 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167527

            Bug ID: 167527
           Summary: Regression: Selection highlight is drawn incorrectly
                    when selecting the last two <br> elements in a
                    block-level element
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sstephenson at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 299957
  --> https://bugs.webkit.org/attachment.cgi?id=299957&action=review
Minimal test case

Given the following markup:

  <div>
    <div><br><br><br><br><br></div>
  </div>

After selecting the entire contents of the outermost <div>, the selection highlight is missing for the last two lines.

This is new behavior in Safari 10.1/Safari Technology Preview. See the attached test case (line-break-selection.html).

The behavior is also present for selections in contenteditable containers, which can lead to confusion about what text is actually selected in a rich text editor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170127/42ffd6e9/attachment-0001.html>


More information about the webkit-unassigned mailing list