Closed Bug 12042 Opened 25 years ago Closed 25 years ago

Mouse over/out not working in XML namespace

Categories

(Core :: XML, defect, P3)

All
Windows 95
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: christinehoff4, Assigned: nisheeth_mozilla)

Details

Attachments

(9 files)

Using 8/16 Apprunner on Win 95, Win NT, Win 98, Mac8.5 and Linux Red Hat 6.0.

Save attached XML file and two images to your local machine. Here is the XML
code if file cannot be downloaded:

<?xml version="1.0"?>
<doc>
<one xmlns:html="http://www.w3.org/TR/REC-html40">
<html:p style="border: solid red" onMouseover="if (document.images)
             document.images.menu.src='leopard_cat.jpg'"
	onMouseout="if (document.images)
document.images.menu.src='calanque.jpg'">
Mousing over this paragraph box should flip image of water to image of cat.
Mousing outside of the paragraph box should flip image back to water.
</html:p>
<html:img src="calanque.jpg" alt="water">
</html:img>
</one>
</doc>

Expected result: Mousing over the paragraph box should flip 'water' image to
'cat' image. Mousing outside of the paragraph box should flip 'cat'image back
to 'water' image

Actual result: Mouse over/out not working (across platform). This event handling
works as an HTML doc.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 12433 ***
Status: RESOLVED → VERIFIED
Verified dup of #12433
Status: VERIFIED → REOPENED
This bug was marked a duplicate of 12433 which was resolved 9/2. However, this
is still a bug. I am reopening this and providing a revised test case.
Resolution: DUPLICATE → ---
Status: REOPENED → ASSIGNED
Target Milestone: M13
Accepting bug and setting milestone to M13...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → INVALID
There is no event propagation problem here.  The event handler attributes on the
anchor element need to be all lowercase.  I'm attaching a slightly modified test
case to show that events fire properly when the attributes are lowercased.

To verify:

- Save test.xml, calanque.jpg, villefranche1.jpg into a local directory.
- Load test.xml.
- Mouse over and out of the image.
- You will see messages printed out to the console as you mouse over and out of
the image.

Marking invalid.
Attached file test.xml
Attached image calanque.jpg
Attached image villefranche1.jpg
Verified invalid
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: