WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
31951
contentEditable loses selection and goes haywire when I click buttons; works if content in iframe
https://bugs.webkit.org/show_bug.cgi?id=31951
Summary
contentEditable loses selection and goes haywire when I click buttons; works ...
David Gatwood
Reported
2009-11-27 21:01:19 PST
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
Comment 1
2009-11-30 17:12:21 PST
I'm pretty sure that I saw this in Bugzilla before, but can't find a duplicate now.
Ojan Vafai
Comment 2
2012-10-04 11:35:11 PDT
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug