Closed Bug 143202 Opened 22 years ago Closed 21 years ago

{ib}style.display doesn't work properly when div inside span

Categories

(Core :: Layout, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: johnk, Assigned: waterson)

References

Details

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1)
Gecko/20020417
BuildID:    2002041711

For the following HTML:

<span id="x" style="display: none;"><div>hello</div></span>

If I change the style.display property of the span element from 'none' to '' and
back to 'none', the content "hello" appears, but not disappear.



Reproducible: Always
Steps to Reproduce:
1. Unzip HTML
2. Open HTML file
3. click on "sayhello"
4. "hello" appears
5. click on "sayhello" again
6. "hello" does not disappear

Expected Results:  "hello" is suppose to disappear when you click "sayhello" a
second time.
Attached file demo
demo
Confirming issue. I reduced the test case further.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Attached file Reduced version
{ib}, oh joy.
Assignee: attinasi → waterson
Summary: style.display doesn't work properly when div inside span → {ib}style.display doesn't work properly when div inside span
Status: NEW → ASSIGNED
Target Milestone: --- → Future
I'm still seeing this in the 20021023 nightly. Are there any plans for a fix?
Fixed by bug 171830, looks like....
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Depends on: 171830
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: