Closed
Bug 194928
Opened 21 years ago
Closed 21 years ago
toggling an elements display style from none to inline and back to none leaves the element on the page.
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 171830
People
(Reporter: tchristney, Assigned: jst)
References
Details
Attachments
(1 file)
1.97 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021104 Chimera/0.6 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021104 Chimera/0.6 There seems to be a problem with changing an elements display style to none from inline using the DOM. Attached is an HTML test case. Reproducible: Always Steps to Reproduce: 1. Click on indicated link in sample code. 2. Click on link again. Actual Results: After the first click, the element with id="demoText" becomes "inline" and displays properly. After clicking the link again, the text remains visible. Expected Results: The text should return to having its display style set to "none" and it should disappear.
Reporter | ||
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
This is just like bug 173373 (if you need this to work right away, just use "block" instead of "inline", since that's what you want it to render as anyway....)
Depends on: 173373
This bug is also in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 (Assuming the HTML demo is written write)
Comment 4•21 years ago
|
||
Yes, yes. This will be fixed when bug 171830 is fixed, most likely.
Assignee | ||
Comment 5•21 years ago
|
||
Duping, undupe if this is still a problem when bug 171830 is fixed. *** This bug has been marked as a duplicate of 171830 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•