[Webkit-unassigned] [Bug 258256] New: Selection incorrectly highlights text node before inline-wrapped contenteditable=false island

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 17 17:58:34 PDT 2023


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

            Bug ID: 258256
           Summary: Selection incorrectly highlights text node before
                    inline-wrapped contenteditable=false island
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: rniwa at webkit.org, wenson_hsieh at apple.com

Hi Team,

Another bug from Chrome Monorail: crbug.com/534466


Test Case: data:text/html,<h1 contenteditable>W<u><span contenteditable=false>XY</span></u>Z</h1>

^ Open this in STP172 and try to drag select 'XY' and the selection rect 'blue' will also go over 'W' for no good reason.

> Double Clicking works on XY and select correctly.

> If you do from Y side to X or X side to Y selection in reverse, it select have 'selection' rect on 'W'

I think we can fix these issues, so raising this bug.

Also adding 'BrowserCompat' since both Chrome Canary 116 and Firefox Nightly 116 works as expected and don't have issue.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230618/3247fc97/attachment.htm>


More information about the webkit-unassigned mailing list