Closed Bug 56402 Opened 24 years ago Closed 24 years ago

Double-clicking to select word also selects adjacent punctuation and whitespace

Categories

(Core :: DOM: Selection, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 16352
Future

People

(Reporter: davby, Assigned: mjudge)

Details

(Whiteboard: suntrak-n6)

Build ID: 200010221 Double-clicking to select a word in a text widget or the document body also selects punctuation and whitespace following the word. To reproduce: Enter the following in a text widget (including the quotation marks): "One, two, three!". Double-click on "One". Mozilla selects the word and the quotation mark preceding the word and the comma and space following the word. Double-click on "two", and Mozilla selects the comma and space following the word. Double-click on "three" and Mozilla selects the exclamation mark and quotation mark following the word. I expected Mozilla to select only the actual words, not the punctuation or whitespace following or preceding the word.
I can confirm that this is the behavior I see on Macintosh as well. I don't think Mike is really the owner for this bug (at least the punctuation stuff) but I can't remember who is the owner... maybe ftang will know? Setting this bug to Future.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Solaris → All
Hardware: Sun → All
Summary: Double-clicking to select a word also selects adjacent punctuation and whitespace → Double-clicking to select word also selects adjacent punctuation and whitespace
Target Milestone: --- → Future
Whiteboard: suntrak-n6
*** This bug has been marked as a duplicate of 16352 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.