Closed
Bug 398479
Opened 18 years ago
Closed 17 years ago
A div with overflow hidden containing only FLOAT items selects all content when clicking to the left of the div
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: drhobbes, Unassigned)
Details
Attachments
(1 file)
|
682 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
When clicking to the left of a div with styling applied such that it has overflow set to hidden and which contains only children with "FLOAT" styles applied to them (for example, all children are float:left) will select all of the text and images within that parent div.
A positive left margin helps the repro by giving more area to click next to but is not necessary. Additionally this seems to repro with overflow set to pretty much anything other than "visible" (auto, scroll, etc).
Reproducible: Always
Steps to Reproduce:
1. Create a container div with style {overflow:hidden; margin-left:20px;}
2. Create a child div within the first div with some text content and style {float:left}
3. Click to the left of that div
Actual Results:
The text entered in the child div is highlighted/selected. This is true no matter how many child divs are inside the parent div or what the float styling of any elements within those first level child divs are.
Expected Results:
Text and content should not highlight (as is the case when clicking to the right).
The document attached is XHTML but the issue repros when presenting standard HTML as well.
Comment 2•18 years ago
|
||
This seems to work fine for me on trunk, if I understand the problem being reported correctly...
I don't have ready access to a trunk build but trying the repro in the Gran Paradiso alpha 7 build shows that the bug seems to have been fixed.
I'm unfamiliar with the process, should I close this bug or should someone more familiar with the source tree close it as a duplicate of a specific/numbered pre-existing (and fixed) bug or work item?
Severity: normal → minor
Version: unspecified → 2.0 Branch
Comment 4•18 years ago
|
||
This works for me as well on the trunk and can reproduce on 2.0.0.8. Likely this will get marked as worksforme as tracking down the specific bug that fixed this would be time consuming.
This bug is still in Firefox 2.0.0.14 existing!
It is very annoying especially when using overflow:hidden to clear floats.
Comment 6•17 years ago
|
||
Works for me - Firefox 3 rc 1
Yeah, it's WFM on 3.0 RC1. We only take stability and security fixes on the 2.x.x.x. branch, so this is not going to be fixed there. It's already fixed in 3.0, so just bear with us a little longer until we release that.
--> WFM
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•