Open Bug 557178 Opened 15 years ago Updated 2 years ago

modal dialogs are not modal

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: angelo.borsotti, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 when a modal dialogue is displayed it does not prevent event from occurring Reproducible: Always Steps to Reproduce: 1.open the attached page 2.put the cursor on "hit me" (it becomes blue), and click on it 3.an alert dialogue is displayed, move the cursor from the blue div to the dialogue: when it goes over the alert window decoration nothing occurs, but when it moves from the decoration into the window contents (the white area), an onmouseout event is generated Page: <html> <head> </head> <style type="text/css"> div:hover { background: DeepSkyBlue; } </style> <body> <div style="border: 1px solid" onclick="alert('modal');" onmouseout="alert('out');"> hit me </div> </body> </html> Actual Results: an onmouseout event in the window while a modal dialogue is displayed. Note that at this point there are two modal diagogues displayed. Expected Results: no events must occur when a modal dialogue window is displayed. A modal window must block any activity on the underlying window, waiting for the user to answer the requested question. avoid to generate any event on the window
When adding a testcase, please attach it using "Add an attachment". (I think this is a dup, though not 100% sure)
Related to/duplicate of bug 324149?
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.