Closed Bug 686823 Opened 14 years ago Closed 14 years ago

Background elements are selectable even though modal dialog is being shown

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 6
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 683313

People

(Reporter: hosang, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Build ID: 20110902133214 Steps to reproduce: Open a DHTML_modalMessage (see http://www.dhtmlgoodies.com/?whichScript=modal-message) and then clicked an element in the background/parent window I know this is not standard code, but I would like to note that the modals created by this function work correctly in not only Chrome but in Firefox 6.0.2 which makes me believe it may be more of an issue with Fennec itself as opposed to the way the script was written. Regardless i have also filed a bug report with the author of the script. Actual results: the background/parent window element got focus Expected results: it should not have gotten focus.
occurs both in PC version as well as Firefox App for Android on a Galaxy 1 and 2 running 2.3.2 this is the code that invokes the modal messageObj = new DHTML_modalMessage(); messageObj.setShadowOffset(5); messageObj.setHtmlContent(messageContent); messageObj.setSize(640,400); messageObj.setCssClassMessageBox(cssClass); messageObj.setShadowDivVisible(false); messageObj.display();
Mark, what element are you clicking on in the background window? On a link, you mean? On that case, this is more or less related to bug 683313. I noticed with links that they are getting highlighted, but you can't really click on them.
Attached file testcase
it was textboxes that were getting focus.
Ok, in that case, this is a duplicate of bug 683313.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
No longer depends on: 683313
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: