Element that stop mousemove event propagation do not show title text.

RESOLVED WORKSFORME

Status

()

Core
DOM: Events
RESOLVED WORKSFORME
8 years ago
5 years ago

People

(Reporter: Jia zheng, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows 7
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

If I write the following code, the title won't display when move mouse over it.

the html:
<p id="p1" title="title here..">content here</p>

the javascript:
document.getElementById("p1").addEventListener("mousemove", function(e){
  e.stopPropagation();
}, false);

and when you put the mouse cursor over the p element, no title will be displayed.

Reproducible: Always

Steps to Reproduce:
the html:
<p id="p1" title="title here..">content here</p>

the javascript:
document.getElementById("p1").addEventListener("mousemove", function(e){
  e.stopPropagation();
}, false);
Actual Results:  
when you put the mouse cursor over the p element, no title will be displayed.

Expected Results:  
the title will display.

no

Comment 1

8 years ago
Created attachment 445033 [details]
reporter's testcase

Updated

8 years ago
Component: General → DOM: Events
Keywords: testcase
Product: Firefox → Core
QA Contact: general → events

Comment 2

7 years ago
Mozilla/5.0 (Windows NT 5.1; rv:8.0a1) Gecko/20110813 Firefox/8.0a1
just confirming
Version: unspecified → Trunk

Updated

7 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Testcase worksforme.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.