Open Bug 144770 Opened 23 years ago Updated 3 years ago

FRAMESET events are routed sideways.

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

People

(Reporter: jacobs, Unassigned)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 The example below consists of a pair of FRAMESETs nested inside one large FRAMESET. Events are supposed to be dispatched from the pair of nested FRAMESETs. However, all the events that are actually observed are marked as if they came from the FRAMESET on the right (#3 in the sample). Reproducible: Always Steps to Reproduce: 1.Change the sample so that the four FRAMEs refer to four of your own files. 2.Navigate to the updated sample. 3.Click on the two horizontal dividers. 4.Look for event information in the status bar. Actual Results: All the events will be tagged as if coming from the FRAMESET on the right (#3). Even those that should be tagged as if coming from the FRAMESET on the left (#2). Expected Results: Mouse operations of any kind whatsoever over the divider in FRAMESET #2 should generate events. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html lang="en" dir="rtl"> <head> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script type="text/javascript"> var ev=""; var moves=0; function OnLoadScript(x) { ev=ev+"ld"+x; window.status=moves+" "+ev; } function OnUnLoadScript(x) { ev=ev+" ul"+x; window.status=moves+" "+ev; } function OnClickScript(x) { ev=ev+" c"+x; window.status=moves+" "+ev; } function OnDblClickScript(x) { ev=ev+" 2"+x; window.status=moves+" "+ev; } function OnMouseDownScript(x) { ev=ev+" d"+x; window.status=moves+" "+ev; } function OnMouseUpScript(x) { ev=ev+" u"+x; window.status=moves+" "+ev; } function OnMouseOverScript(x) { ev=ev+" v"+x; window.status=moves+" "+ev; } function OnMouseMoveScript(x) { moves=moves+1; window.status=moves+" "+ev; } function OnMouseOutScript(x) { ev=ev+" o"+x; window.status=moves+" "+ev; } function OnKeyPressScript(x) { ev=ev+" kp"+x; window.status=moves+" "+ev; } function OnKeyDownScript(x) { ev=ev+" kd"+x; window.status=moves+" "+ev; } function OnKeyUpScript(x) { ev=ev+" ku"+x; window.status=moves+" "+ev; } </script> <title>FRAMESET events</title> </head> <frameset cols="40%, 60%"> <!-- onload="OnLoadScript(1)" onunload="OnUnLoadScript(1)" onclick="OnClickScript(1)" ondblclick="OnDblClickScript(1)" onmousedown="OnMouseDownScript(1)" onmouseup="OnMouseUpScript(1)" onmouseover="OnMouseOverScript(1)" onmouseout="OnMouseOutScript(1)" onkeypress="OnKeyPressScript()" onkeydown="OnKeyDownScript(1)" onkeyup="OnKeyUpScript(1)" onmousemove="OnMouseMoveScript(1)" --> <FRAMESET rows="150,*" onload="OnLoadScript(2)" onunload="OnUnLoadScript(2)" onclick="OnClickScript(2)" ondblclick="OnDblClickScript(2)" onmousedown="OnMouseDownScript(2)" onmouseup="OnMouseUpScript(2)" onmouseover="OnMouseOverScript(2)" onmouseout="OnMouseOutScript(2)" onkeypress="OnKeyPressScript(2)" onkeydown="OnKeyDownScript(2)" onkeyup="OnKeyUpScript(2)" onmousemove="OnMouseMoveScript(2)"> <FRAME src="C16_2_1_c_f1.html" marginwidth="20" marginheight="20"> <FRAME src="C16_2_1_c_f2.html" marginwidth="20" marginheight="20"> </FRAMESET> <FRAMESET rows="*,150" onload="OnLoadScript(3)" onunload="OnUnLoadScript(3)" onclick="OnClickScript(3)" ondblclick="OnDblClickScript(3)" onmousedown="OnMouseDownScript(3)" onmouseup="OnMouseUpScript(3)" onmouseover="OnMouseOverScript(3)" onmouseout="OnMouseOutScript(3)" onkeypress="OnKeyPressScript(3)" onkeydown="OnKeyDownScript(3)" onkeyup="OnKeyUpScript(3)" onmousemove="OnMouseMoveScript(3)"> <FRAME src="C16_2_1_c_f3.html" marginwidth="20" marginheight="20"> <FRAME src="javatutorial.gif" marginwidth="20" marginheight="20"> <FRAMESET> </FRAMESET> </HTML>
Confirming with current linux as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Assignee: joki → nobody
QA Contact: vladimire → events
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: