display: none is not assignable from JavaScript

VERIFIED FIXED in M4

Status

()

P2
normal
VERIFIED FIXED
20 years ago
18 years ago

People

(Reporter: johan.a.eklund, Assigned: vidur)

Tracking

Trunk
x86
Windows 98
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
Trying to assign the style property "display" to "none" on a normal paragraph
from JavaScript has no effect.
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

20 years ago
I'd like to pass this off to one of Troy, Nisheeth or Peter. We're going to need
to deal with attribute and style changes that involve deletion and creation of
frames. The display: none case is definitely a necessity for certain types of
applications. Who wants to taket this one?

Comment 2

20 years ago
Setting all current Open/Normal to M4.
(Assignee)

Updated

20 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

20 years ago
Fixed a couple of weeks ago. I really need to scrub my list.

Updated

20 years ago
QA Contact: 4015

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 4

20 years ago
I've created the following code in order to reproduce the described failure:

<HTML>
<HEAD>
<TITLE>test.html</TITLE>
</HEAD>
<BODY>
<P id="p1">This is a paragraph.</P>
<SCRIPT type="text/javascript">
document.getElementById("p1").style.display="none";
</SCRIPT>
</BODY>
</HTML>

Verified it works fine on 4/21 build.
You need to log in before you can comment on or make changes to this bug.