The default bug view has changed. See this FAQ.

Double click to select word broken in text fields outside a contenteditable

NEW
Unassigned

Status

()

Core
Editor
8 years ago
5 years ago

People

(Reporter: Aaron Leventhal, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [post-2.0])

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
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.
Also happens on Windows and Linux.

Doesn't happen in Safari on OS X.
OS: Mac OS X → All
Hardware: x86 → All

Comment 2

7 years ago
Is it a duplicate: https://bugzilla.mozilla.org/show_bug.cgi?id=528686 ?

Updated

6 years ago
Duplicate of this bug: 633293

Updated

6 years ago
Assignee: nobody → ehsan
Whiteboard: [post-2.0]
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.
Assignee: ehsan → kaze
Assignee: kaze → nobody
You need to log in before you can comment on or make changes to this bug.