Do not select final period when double clicking a word

RESOLVED WORKSFORME

Status

()

Core
Selection
--
minor
RESOLVED WORKSFORME
10 years ago
9 years ago

People

(Reporter: Rochelle Derilo, Unassigned)

Tracking

1.8 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

When double clicking on a word to select it, and it happens that the word is at the end of a sentence, the period following the word gets selected as well.


Reproducible: Always

Steps to Reproduce:
Double click on a word that is at the end of a sentence to select it.

Actual Results:  
The word and the period are both selected.

Expected Results:  
Only the word should be selected.

Solution should be smart enough to distinguish between a period that is within the word (such as a decimal point in numbers) and a period which is a punctuation mark at the end of a sentence. Do the same for question marks, exclamation points, and quotation marks.

Comment 1

9 years ago
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Component: General → Selection
Product: Firefox → Core
QA Contact: general → selection
Resolution: --- → WORKSFORME
Version: unspecified → 1.8 Branch
You need to log in before you can comment on or make changes to this bug.