Closed Bug 213096 Opened 21 years ago Closed 21 years ago

Double-click on last word on line selects both that word and the first word on the next line if given line ends with <br>

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: alecg, Assigned: mjudge)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030708 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030708 Mozilla Firebird/0.6

Given code such as:
<html>
<body>
Double-click <u>here</u><br>
<u>This</u> will be also be selected.
</body>
<html>

Double-clicking on "here" will select both "here" and "This". A <br> tag does
not interrupt the selection. There may be spaces to either side of the tag.

Reproducible: Always

Steps to Reproduce:
1.Find a line that ends with <br>.
2.Double-click on the last word in that line.
3.The first word in the next line is also selected.

Actual Results:  
Both the word clicked on and the first word on the next line were selected.

Expected Results:  
Only the word double-clicked should have been selected.
WFM, 2003-07-14-22 trunk Linux
Keywords: testcase
Worksforme in build 2003-71708 on Mac OS X 10.2.6.

Looks like a dupe of bug 111682, but it's not clear it was fixed or not. Bug
111682 seems to be highly platform-specific.
Works in recent builds.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: