Closed
Bug 578771
Opened 14 years ago
Closed 12 years ago
Contenteditable element breaks word selection on all other input elements of the page
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: matdumsa, Assigned: graememcc)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
531 bytes,
text/html
|
Details | |
3.04 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; en-US; rv:2.0b2pre) Gecko/20100714 Minefield/4.0b2pre As soon as a contenteditable is present on any given page, the behaviour of all other input or textarea of the page is altered in regards to "word selection by double clicking" usually, double-clicking a word in a box would select that word. Please look at the provided URL for a basic test-case expressing this bug. This bug had been found in firefox 3.6.6 for Mac/Window and Minefield 4.0b2pre so I suspect it's core and affecting all versions. Reproducible: Always Steps to Reproduce: 1. visit a page that has at least one contenteditable=true div 2. try selecting a word in an input by double clicking on it. Actual Results: the word can't be selected by double or triple clicking wether the field has focus or not. Expected Results: the word or parts of it should be selected by double-clicking. default theme, please visit http://www.mathieusavard.info/bug/a.html for the basic test case.
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•14 years ago
|
Assignee: nobody → ehsan
Comment 1•13 years ago
|
||
Updated•13 years ago
|
Assignee: ehsan → kaze
Assignee | ||
Comment 2•13 years ago
|
||
I have a patch in the works for bug 686203 - not quite ready for Bugzilla yet - that should fix this too.
Assignee | ||
Comment 3•12 years ago
|
||
Testcase. Fails in a tree without the patch from bug 686203. Passes with 686203 landed.
Attachment #616574 -
Flags: review?(ehsan)
Comment 4•12 years ago
|
||
Comment on attachment 616574 [details] [diff] [review] Test Review of attachment 616574 [details] [diff] [review]: ----------------------------------------------------------------- Looks great, thanks!
Attachment #616574 -
Flags: review?(ehsan) → review+
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/febef520842e
Assignee: kaze → graememcc_firefox
Flags: in-testsuite+
Target Milestone: --- → mozilla14
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/febef520842e
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•