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)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

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.
Status: NEW → ASSIGNED
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?
Setting all current Open/Normal to M4.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed a couple of weeks ago. I really need to scrub my list.
QA Contact: 4015
Status: RESOLVED → VERIFIED
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.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.