FRAMESET events are routed sideways.




17 years ago
7 months ago


(Reporter: jacobs, Unassigned)



Firefox Tracking Flags

(Not tracked)



(1 attachment)



17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
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

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"
<html lang="en" dir="rtl">
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
  var ev="";
  var moves=0;
  function OnLoadScript(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) {
    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;
<title>FRAMESET events</title>
<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 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">
Confirming with current linux as well.
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Assignee: joki → nobody
QA Contact: vladimire → events

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
You need to log in before you can comment on or make changes to this bug.