[Webkit-unassigned] [Bug 167525] Regression (Safari 10.1): Pressing Return in a contenteditable no longer inserts a line break under certain conditions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 14:30:13 PST 2017


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

--- Comment #3 from Wenson Hsieh <wenson_hsieh at apple.com> ---
(In reply to comment #2)
> Oh shoot, this is because I accidentally changed:
> 
> element.dispatchEvent(InputEvent::create(eventNames().inputEvent, inputType,
> true, false, element.document().defaultView(), data, WTFMove(dataTransfer),
> targetRanges, 0));
> 
> ...to:
> 
> element.dispatchScopedEvent(InputEvent::create(eventNames().inputEvent,
> inputType, true, false, element.document().defaultView(), data,
> WTFMove(dataTransfer), targetRanges, 0));
> 
> ...while refactoring. I'll fix this ASAP and write a layout test. Thanks,
> Sam!

(actually the other way around: we used to dispatchScopedEvent, and now we dispatch the event immediately)

-- 
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/20170130/aca28062/attachment-0001.html>


More information about the webkit-unassigned mailing list