NEW114372
ContentEditable focus changes when typing
https://bugs.webkit.org/show_bug.cgi?id=114372
Summary ContentEditable focus changes when typing
Ryosuke Niwa
Reported 2013-04-10 12:05:42 PDT
What steps will reproduce the problem? 1. Go to http://html5demos.com/contenteditable 2. Select ContentEditable element in the page 3. Start typing one letter at the time What is the expected output? Focused node does not change. What do you see instead? Focus keeps switching between highlighting the ContentEditable and deselecting it. See video: https://docs.google.com/a/google.com/file/d/0B-AevY72N_3qeE9uNWZGYUVGTGM/edit?usp=sharing http://crbug.com/229654
Attachments
Reduction of http://html5demos.com/contenteditable (405 bytes, text/html)
2013-04-12 02:53 PDT, Sukolsak Sakshuwong
no flags
Try changing the 'designmode' of the editable object instead of the document. (421 bytes, text/html)
2017-07-28 12:29 PDT, Aditya
no flags
Alexey Proskuryakov
Comment 1 2013-04-10 22:15:04 PDT
This doesn't happen with most contenteditable areas, so adding NeedsReduction keyword. > See video: https://docs.google.com/a/google.com/file/d/0B-AevY72N_3qeE9uNWZGYUVGTGM/edit?usp=sharing That's Google internal.
Sukolsak Sakshuwong
Comment 2 2013-04-12 02:53:35 PDT
Created attachment 197738 [details] Reduction of http://html5demos.com/contenteditable This seems like the expected behavior.
William M
Comment 3 2014-04-05 07:44:00 PDT
The contentEditable area appears to function with no issues, but on occasion, the border "blinks" momentarily blue (Safari's default "active" highlight for text fields and such). I tried to capture this in a gif, but it appears to blink too fast for the 16fps.
William M
Comment 4 2015-03-02 00:49:38 PST
While the "Blinking Border" as described above still exists, this appears to work correctly now. (r180732)
Aditya
Comment 5 2017-07-28 12:29:46 PDT
Created attachment 316666 [details] Try changing the 'designmode' of the editable object instead of the document.
Ryosuke Niwa
Comment 6 2017-07-29 04:06:07 PDT
Comment on attachment 316666 [details] Try changing the 'designmode' of the editable object instead of the document. Please don't set these flags. They're for committers and reviewers.
Note You need to log in before you can comment on or make changes to this bug.