Closed Bug 263458 Opened 20 years ago Closed 20 years ago

double-click selects additional text when styles are combined on one line

Categories

(Core :: DOM: Selection, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 231123

People

(Reporter: d6miller, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

As is the PC convention, double-clicking on a word selects the entire word in
FireFox. However, when the word immediately after the word being double-clicked
has a different style, double-clicking selects both the word that was clicked
and the next word. This can make it irritating to cut and paste individual
words, for example, to look them up in the search bar or a dictionary. 

Reproducible: Always
Steps to Reproduce:
1. Find a line of text that has some combination of styles. Below a couple
boxes, for example, are the words "the _theme_" where "theme" is in bold.
2. Double-click on the first word.

Actual Results:  
The first and second words are both selected.

Expected Results:  
Select only the first word.

I am using the default theme. This seems to work propperly on Linux. This
happens at work as well (Win2k).
I'm dure I've seen this bug before, can't find the dupe
Assignee: firefox → selection
Component: General → Selection
Product: Firefox → Browser
QA Contact: firefox.general
Version: unspecified → Trunk
To see this bug in action, simply double click the word "From" between the 
comment # and the commenter's name.

*** This bug has been marked as a duplicate of 231123 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.