Open
Bug 597406
Opened 15 years ago
Updated 5 years ago
can't select text from floating div
Categories
(Core :: DOM: Selection, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: hufraser, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: testcase)
Attachments
(1 file)
|
2.44 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0E)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET4.0E)
When you try to select text (using the mouse) from a div with style="float: left" under some circumstances, you can't. I'll attach a minimal test case.
Reproducible: Always
Steps to Reproduce:
1. Open either the given URL (get username/password from bugmenot) or the attached test case
2. Try to select text from either the table beginning "Number of Constituents" (no quotes) or the first or third paragraph of the test case by clicking the mouse and dragging.
3.
Actual Results:
Text is selected from the wrong area or not at all.
Expected Results:
Text is selected where you drag the mouse.
| Reporter | ||
Comment 1•15 years ago
|
||
| Reporter | ||
Updated•15 years ago
|
Version: unspecified → 1.9.2 Branch
Comment 2•15 years ago
|
||
The relatively positioned div coming after the float ends up painting on top of the float (because it's positioned). You can see this if you put a background on the rel pos div.So when you're clicking, the click event hits the rel pos div, not the float.Webkit has the same behavior, for the same reason. See bug 102695 for more sordid details.
Comment 3•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•