Search and Top Navigation
#8742 closed bug (fixed)
Opened October 28, 2012 07:30AM UTC
Closed October 29, 2012 12:29AM UTC
Last modified November 08, 2012 10:50PM UTC
Tooltip shows incorrect message in chrome if there is input with name="title" in a form
Reported by: | wfsiew | Owned by: | wfsiew |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.2 |
Component: | ui.tooltip | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In chrome, if there is a form with input name="title", positioning the mouse cursor outside from the input the tooltip will show [Object HTMLInputElement] in chrome.
The code to produce it in chrome :
<form id="add-form" method="post">
<input type="text" name="title" title="enter title" />
</form>
$('#add-form').tooltip();
Attachments (0)
Change History (10)
Changed October 28, 2012 09:35AM UTC by comment:1
owner: | → wfsiew |
---|---|
status: | new → pending |
Changed October 28, 2012 09:43AM UTC by comment:2
status: | pending → new |
---|
I'm using chrome version Version 22.0.1229.94 m, tested in http://jsbin.com/acuraz/1/, also shows the problem.
Changed October 28, 2012 09:46AM UTC by comment:3
Initially when you try move your mouse to the input, you will see the correct tooltip, but when you move out from the input, you will see [object HTMLInputElement]
Changed October 28, 2012 09:58AM UTC by comment:4
_comment0: | Alright, now I see it. You have to actually hover the form, not the input. Modified test page to make it more obvious: http://jsbin.com/acuraz/3/ → 1351418446594588 |
---|---|
status: | new → open |
Alright, now I see it. You have to hover the input, then the form. Modified test page to make it more obvious: http://jsbin.com/acuraz/3/
Changed October 28, 2012 10:00AM UTC by comment:5
Yes, but you have to hover the input first, hover the form initially will have no effect.
Changed October 28, 2012 10:01AM UTC by comment:6
Right, figured that out as well. One more update: http://jsbin.com/acuraz/4/
Changed October 29, 2012 12:11AM UTC by comment:7
component: | ui.core → ui.tooltip |
---|
Changed October 29, 2012 12:29AM UTC by comment:8
resolution: | → fixed |
---|---|
status: | open → closed |
Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
Changeset: d074efe5289db4f5182a685046e9b9ad6186ac26
Changed November 08, 2012 10:49PM UTC by comment:9
Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
(cherry picked from commit d074efe5289db4f5182a685046e9b9ad6186ac26)
Changeset: 48398bc58c05d82232a0198f968794443414f231
Changed November 08, 2012 10:50PM UTC by comment:10
milestone: | 1.10.0 → 1.9.2 |
---|
This works fine: http://jsbin.com/acuraz/1/
Tested in Chrome 22.
Please provide a failing testpage that shows the problem, or further details on how to reproduce it.