Closed
Bug 459599
Opened 17 years ago
Closed 8 years ago
Selection highlight problem with overlapped selection ranges and inlines
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: uriber, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
318 bytes,
text/html
|
Details |
When creating a second selection range (using cmd[ctrl]-click-and-drag), if the second range starts before the first range, then extends to overlap it and continues to intersect an inline element, the portion of the selection from the beginning of the inline onwards is not highlighted (but is actually selected!).
This is probably better illustrated by the attached, self-explaining testcase. After following the instructions, only the text before the words "ctrl-select" appears highlighted, even though more text is selected.
I could not reproduce this by scripting the selections - it seems to only happen when actually doing them with the mouse.
Reporter | ||
Comment 1•17 years ago
|
||
Sorry, the previous testcase was my failed attempt to do an automatic (scripted) testcase.
Attachment #342808 -
Attachment is obsolete: true
Reporter | ||
Updated•17 years ago
|
Summary: Selection highlighted problem with overlapped selection ranges and inlines → Selection highlight problem with overlapped selection ranges and inlines
Comment 2•17 years ago
|
||
Since this also happens on Windows and Linux -> All.
But I don't really understand your description. Here's what I see:
1) Select anything to the left of the bolded "ctrl-select" text (need
not be a whole word).
2) Start ctrl- (or cmd-) selecting to the left of what you previously
selected, and keep dragging the selection to the right.
The selection stops expanding at the beginning of "ctrl-select".
This problem doesn't happen in FF2 (or for that matter in Safari or
Opera), since they don't support ctrl/cmd-select.
OS: Mac OS X → All
Hardware: PC → All
Reporter | ||
Comment 3•17 years ago
|
||
Yes, this is exactly what I was trying to describe. Sorry if my description wasn't clear.
Comment 4•8 years ago
|
||
This issue no longer seems to exist in current Firefox; resolving as WFM.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•