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)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: uriber, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached file testcase (obsolete) —
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.
Attached file correct testcase
Sorry, the previous testcase was my failed attempt to do an automatic (scripted) testcase.
Attachment #342808 - Attachment is obsolete: true
Summary: Selection highlighted problem with overlapped selection ranges and inlines → Selection highlight problem with overlapped selection ranges and inlines
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
Yes, this is exactly what I was trying to describe. Sorry if my description wasn't clear.
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.

Attachment

General

Creator:
Created:
Updated:
Size: