Bug 31951
| Summary: | contentEditable loses selection and goes haywire when I click buttons; works if content in iframe | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Gatwood <dgatwood> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ap, ojan |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.6 | ||
David Gatwood
If I click on any buttons in the content, I lose the selection in any contentEditable regions. For example, modify:
http://webkit.org/demos/editingToolbar/
example to use a div instead of an iframe. That was specifically what I did. The behavior I'm seeing is that the selection gets lost, and then Safari (for some bizarre reason) decides to make the *entire* editable content block bold instead of making bold be the default for new content.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
I'm pretty sure that I saw this in Bugzilla before, but can't find a duplicate now.
Ojan Vafai
I can't reproduce this on Chromium Linux 24.0.1284.2 (Official Build 159713) dev WebKit 537.13 (@130046). Please reopen if I'm wrong.