Closed
Bug 773269
Opened 12 years ago
Closed 12 years ago
HTML5 + self closing slash on text input + value = cursor breakage
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: erisds, Unassigned)
Details
(Keywords: html5)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11
Steps to reproduce:
Had <input type="text" value="http://" id="somat" name="somat" class="somat" /> on an HTML5 page... investigation shows it is the same for any value not some special case of having "http://".
Actual results:
When a user clicks in the input field, rather than their cursor going to the end after the value of "http://", it goes to the beginning, as if the value is not there. No amount of arrow or "end" key pressing will put the cursor at the end of the value. The value is not selectable. It really seems the browser does not know the value is there, even though it has rendered it.
Expected results:
The users cursor should default to the end, just like it does if you remove the self-closing slash.
Reporter | ||
Comment 1•12 years ago
|
||
Note that this has been experience on linux as well as windows.
Keywords: html5
Reporter | ||
Comment 2•12 years ago
|
||
Am working on a reproducable example to add to this bug.
Comment 3•12 years ago
|
||
Please reopen once there is a reproducible example.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•