Open
Bug 77565
Opened 23 years ago
Updated 2 years ago
input element gets selection on clicking to the side of it
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: jg, Unassigned)
References
()
Details
(Whiteboard: [select])
Attachments
(1 file)
221 bytes,
text/html
|
Details |
I've seen this for months, but can't find an existing report. If this is a dup, please add me to the original's cc list. Steps to reproduce: 1. Go to the above URL, it does not matter which bug you view. 2. Click to the right of one of the input type="text" elements, such as QA Contact, and release the mouse. 3. Move your pointer over to the left, over the input element, and watch as a selection of the text occurs If the above doesn't select the text, try clicking on the next input element, such as URL, to the right of it, and again moving the mouse left until the text becomes selected. Expected results: No text is selected. Actual results: Text becomes selected. It seems that on release of the mouse next to an input type="text" element, we set the selection event for that element going as well. We shouldn't be doing this.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
By clicking to the right of the two input fields in the testcase, then moving over the text within them (no holding of the mouse button), the text can become selected. You may need to alternate between the two inputs during testing to see this, but you will see the problem very quickly, it's not hard to reproduce.
Keywords: mozilla0.9.1
Comment 3•23 years ago
|
||
I also notice that once you click inside the text it sets some state and you can't do it again. Neat. Anyway, this is one for mjudge.
Assignee: joki → mjudge
Comment 4•23 years ago
|
||
Odd! I can also get this to happen occasionally when you click on the QA Contact label (to the left of the input element) and move the mouse to the right. It also seemed to cause the URL field to start selecting. I wonder if the colspan is in any way related to this? This was with Build 2001042504 on Win NT.
Reporter | ||
Comment 5•23 years ago
|
||
The testcase certainly doesn't have a table, so I don't see how colspan has a bearing on the bug. Of interest, if you click to the left of either field in the testcase, then move over the text input (move right), the text input has been selected from the right-hand-side, not the left.
Comment 6•23 years ago
|
||
really weird bug, this also happens on win32 and Mac -- just simply click to the right of any INPUT TYPE=TEXT field and move your mouse over the field.
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
Updated•23 years ago
|
Keywords: correctness
Whiteboard: [select]
Comment 7•23 years ago
|
||
can't dup this on build from June 1st
Target Milestone: mozilla0.9.2 → mozilla1.0
Reporter | ||
Comment 8•23 years ago
|
||
I can, using a build checked out less than 1 hour ago from the tip. To reproduce: 1. Load the testcase 2. Click once to the right of the second input element. Release the mouse 3. Move the mouse into the second input element, over it's text data Notice the selection starts as if you had clicked and held the button inside the end of the input element. I'm on Linux.
Comment 10•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Updated•22 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Comment 12•19 years ago
|
||
Still seeing this 4 years later on (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050822 Firefox/1.0+). This is one of those bugs that can really baffle a user and it is quite difficult to them to figure out what has happened or how to resolve the issue (clear the selection).
Flags: blocking1.8b5?
Updated•19 years ago
|
Flags: blocking1.8b5? → blocking1.8b5-
Updated•15 years ago
|
Assignee: mjudge → nobody
QA Contact: trix → events
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•