Closed Bug 231008 Opened 22 years ago Closed 22 years ago

Browser crashes when setting DISPLAY:NONE via DOM for DIV with POSITION:ABSOLUTE and FORM elements.

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 203041

People

(Reporter: perttu.immonen, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040114 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040114 When using document.getElementById(id).style.display = 'none'; to hide DIV-element, browser crashes. DIV has to have html FORM elements on it and position set with css POSITION:ABSOLUTE. POSITION:RELATIVE works fine. Reproducible: Always Steps to Reproduce: 1. Hide DIV-layer by setting style display:none via DOM. Actual Results: Browser crashes. Expected Results: Set display:none and hide the layer Error-dialog: mozilla.exe: Application Error The instruction at "0x028fa651" referenced memory at "0x00000000". The memory could not be "read".
Attached file Testcase html-file
simple page with 3 links with call to javascript-function. first one opens up layer which crashes browser when closed. other two work ok.
Looks like a duplicate of bug 203041.
Confirming as a dup *** This bug has been marked as a duplicate of 203041 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: