Double-click on margin selects no text (with float and padding)

RESOLVED WORKSFORME

Status

()

Core
Selection
RESOLVED WORKSFORME
11 years ago
8 years ago

People

(Reporter: Uri Bernstein (Google), Unassigned)

Tracking

({regression, testcase})

Trunk
regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
Created attachment 251210 [details]
testcase

In the URL above, double-click anywhere on the margin to the left of the side bar, or on the right margin of the page, across to the sidebar.
Notice that the entire page is selected.

This is a regression from bug 316281. It's somewhat similar, but not identical, to  bug 334371.

The minimal testcase involves a div, within a floated div, within a div that has some padding (the amount and position of the padding don't matter).
(Reporter)

Updated

11 years ago
Blocks: 363198
(Reporter)

Comment 1

10 years ago
Starting from some time between 2007-06-16 and 2007-06-23, double-clicking no longer selects the entire paragraph. However double-click-drag (i.e., when the mouse is moved before releasing the second click), still selects everything.

Comment 2

10 years ago
Created attachment 315355 [details]
Testcase #2 (same as first, but removed 'float:left')

Comment 3

10 years ago
Using Firefox 2008041104 on Linux, nothing is selected when double-clicking
on any side in the first testcase.  That doesn't seem right, I expect the same
behaviour as in Testcase #2, i.e. the closest word should be selected.

Updated

10 years ago
Summary: Double-click on margin selects entire text (with float and padding) → Double-click on margin selects no text (with float and padding)

Comment 4

9 years ago
WFM, if I understand this correctly. Double click selects text (a word) I would expect it to, and no more.  (I still see bug 334371)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3
Assignee: selection → nobody
QA Contact: selection

Comment 5

8 years ago
still WFM Mozilla/5.0 (Windows; Windows NT 6.0; rv:2.0b3pre) Gecko/20100723 Minefield/4.0b3pre
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.