Last Comment Bug 490367 - Double click to select word broken in text fields outside a contenteditable
: Double click to select word broken in text fields outside a contenteditable
Status: NEW
[post-2.0]
:
Product: Core
Classification: Components
Component: Editor (show other bugs)
: unspecified
: All All
: -- normal with 4 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Makoto Kato [:m_kato]
Mentors:
: 633293 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-27 15:47 PDT by Aaron Leventhal
Modified: 2012-10-16 09:18 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Test case -- try to select a word using double click in the input field (261 bytes, text/html)
2009-04-27 15:47 PDT, Aaron Leventhal
no flags Details

Description Aaron Leventhal 2009-04-27 15:47:34 PDT
Created attachment 374822 [details]
Test case -- try to select a word using double click in the input field

If you have a contenteditable on a page, then word selection is broken for any input fields on the same page. Double click will not work as it usually does.

Tested with 3.5 beta 3.
Comment 1 Steven Michaud [:smichaud] (Retired) 2009-04-30 16:09:59 PDT
Also happens on Windows and Linux.

Doesn't happen in Safari on OS X.
Comment 2 Sergey Reymerov 2009-11-22 23:38:12 PST
Is it a duplicate: https://bugzilla.mozilla.org/show_bug.cgi?id=528686 ?
Comment 3 Alice0775 White 2011-02-10 22:25:09 PST
*** Bug 633293 has been marked as a duplicate of this bug. ***
Comment 4 :Ehsan Akhgari 2011-07-21 15:58:11 PDT
To debug this, try setting a breakpoint in nsIFrame::PeekOffset (or nsTextFrameThebes::PeekOffset) and watch for the case where aPos->mAmount is eSelectWord, and then see what prevents the word selection to work.

Note You need to log in before you can comment on or make changes to this bug.