[Webkit-unassigned] [Bug 258838] New: beforeinput insertFromDrop event getTargetRanges reports incorrect ranges when data from contenteditable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 3 19:01:31 PDT 2023


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

            Bug ID: 258838
           Summary: beforeinput insertFromDrop event getTargetRanges
                    reports incorrect ranges when data from
                    contenteditable
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: josh at cardsetter.com

`beforeinput` events with `inputType="insertFromDrop"` return incorrect static ranges from `getTargetRanges()` when the origin of the content being dragged is from a contenteditable element. Instead of returning static range(s) of where the content should be inserted (dropped), it reports where the content came from.

-- 
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/20230704/caec7640/attachment.htm>


More information about the webkit-unassigned mailing list