Bug 258838
| Summary: | beforeinput insertFromDrop event getTargetRanges reports incorrect ranges when data from contenteditable | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joshua Toenyes <josh> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | josh, megan_gardner, rniwa, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joshua Toenyes
`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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/112052077>