Summary: | contenteditable element does not completely surrender focus | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jared Jacobs <jmjacobs> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED --- | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, jmjacobs, megan_gardner, ntim, rniwa, vepomoc, wenson_hsieh |
Priority: | P2 | Keywords: | HasReduction |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | Unspecified | ||
URL: | http://jsfiddle.net/A9QXk/ | ||
Bug Depends on: | 38696 | ||
Bug Blocks: |
Description
Jared Jacobs
2013-03-20 16:22:35 PDT
I can confirm that the issue is still present. We've encountered it recently in CKEditor 4: https://github.com/ckeditor/ckeditor4/pull/3898#pullrequestreview-388090174. Ah, this is because selection & focus behavior in WebKit matches macOS convention unlike other browsers. In WebKit, focus moves to where selection is whereas in other browsers, selection moves to where focus is. This is more or less expected behavior from that. I am able to reproduce this bug in Safari 15.5 and other browsers (Chrome Canary 104 and Firefox Nightly 103) behave same and different from Safari 15.5 and matches expected results. Thanks! |