Hi

http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037
Seems that FF treats elements from here as HTMLSpanElement.

Jan


dave.methvin wrote:
> 
> 
>>> I wanted to add the normalization for e.target as discussed earlier. 
>>> But I came across a strange bug in Firefox. Have a look at the following
> page:
>>>
>>> http://stilbuero.de/demo/jquery/etarget.html
>>>
>>> If you click on the link the target of the click event (attached to 
>>> <p>) is alerted. In that case it is an <strong> element, but Firefox 
>>> reports an HTMLSpanElement. Safari is ok.
> 
>> Intertesting.  If I change your alert to
>> alert(e.target.tagName);
>> then I see STRONG.
> 
> I am guessing that FF must treat a <strong> tag like a styled span, which
> makes sense. Also notice that if you click to the right of the link, the
> alert shows HTMLParagraphElement.
> 
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Bug-in-Firefox-with-e.target--tf2472498.html#a6896275
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to