Closed Bug 329515 Opened 19 years ago Closed 17 years ago

Selecting contents of inline element starting with a space adds an extra space

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: vincent-moz, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060226 Debian/1.5.dfsg+1.5.0.1-3 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060226 Debian/1.5.dfsg+1.5.0.1-3 Firefox/1.5.0.1 Under some conditions, when the contents of an inline element starting with a space is selected, the space is added to the selection. Reproducible: Always Steps to Reproduce: 1. A testcase will be attached. For each test, start selecting at the S. 2. Paste the selection somewhere (e.g. to a terminal) to see the result. Actual Results: For the tests announced as wrong, the selection starts with a space. Expected Results: The selection should always start with the S.
Attached file 6 selection tests
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060306 Firefox/1.6a1 ID:0000000000 Confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reproduced with: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060720 Minefield/3.0a1 ID:2006072008
OS: Linux → All
Hardware: PC → All
Fixed by the new nsTextFrame (bug 367177).
Status: NEW → RESOLVED
Closed: 17 years ago
Depends on: 367177
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: