Open
Bug 326500
Opened 19 years ago
Updated 3 years ago
Clicking on images doesn't remove selection
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
NEW
People
(Reporter: sharparrow1, Unassigned)
References
Details
See attachment 157533 [details]. Basically, we're bailing out of the selection code on images and links (see the nsContentUtils::ContentIsDraggable stuff currently at http://lxr.mozilla.org/seamonkey/source/layout/generic/nsFrame.cpp#1759).
I'm not quite sure what we want to do here. Use cases:
1. User selects a bunch of stuff, then clicks on an image in the selection.
We probably want to use the delayed event code already in existance in this case, which would bring parity with clicking on text selection.
2. User selects a bunch of stuff, then clicks on an image outside the selection.
IE doesn't touch the selection in this case.
3. User selects some stuff, then drags an image somewhere.
IE again doesn't touch the selection.
Fixing case 1 should be simple. Fixing the other cases depends on what we want to do. I would appreciate opinions on 2 and 3, and 1 if anyone has anything to add.
Who else should I CC? Maybe I should post to the newsgroups for opinions?
Comment 1•19 years ago
|
||
Well, personally I always tend to think: "do what IE6 is doing" (unless it clearly makes no sense).
| Reporter | ||
Comment 2•19 years ago
|
||
*** Bug 181432 has been marked as a duplicate of this bug. ***
Comment 3•19 years ago
|
||
(Sidenote: One reason to not dupe an older bug to a newer bug is you effectively removed everyone from the old bug. Please reconsider which bug should be duped.)
Updated•16 years ago
|
QA Contact: selection
Comment 4•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:hsinyi, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: sharparrow1 → nobody
Flags: needinfo?(htsai)
Comment 5•3 years ago
|
||
From what I can tell, current Firefox nightly 100 behaves the same as Chrome 99, for all the three cases in comment 0.
Flags: needinfo?(htsai)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•