Closed
Bug 1888
Opened 26 years ago
Closed 26 years ago
display: none is not assignable from JavaScript
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: johan.a.eklund, Assigned: vidur)
Details
Trying to assign the style property "display" to "none" on a normal paragraph
from JavaScript has no effect.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 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?
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•26 years ago
|
||
Fixed a couple of weeks ago. I really need to scrub my list.
Updated•26 years ago
|
QA Contact: 4015
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.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•