Closed Bug 184429 Opened 22 years ago Closed 22 years ago

Display / rendering problem with DHTML ( nested inline/none - rendering elements)

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 79315

People

(Reporter: gfellerpatrik, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

I use 
<table style="display: none;" ...

to create hidden elements on my Intranet-Page. With

document.getElementById(ElementID).style.display="inline";
document.getElementById(ElementID).style.display="none";


I display (or hide) the Element. I looks fine, until I have nested instances.
With nested instances it seems to render the content when I change the stale to
inline - but I can only see part of the content (looks like a graphic error).
The same code is working fine with IE5+

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Actual Results:  
The page behaves as in the MS browser(s), exept that a part of the now rendered
content is just white on the screen (but the other content is moving down - so
the chanche to "inline" was successful - but part of the now visible part is
just white).

Expected Results:  
The browser should also be able to handle nested inline/none-Render sections
proberly.

if you need additional information please feel free to contact me :
gfellerpatrik@gmx.net
Please attach a small (500 bytes or so should be plenty) testcase using
http://bugzilla.mozilla.org/attachment.cgi?bugid=184429&action=enter
Note that this will probably work correctly if you set display to "" instead of
"inline", since the default value of display for TABLE elements is "table", not
"inline".
Related to bug 135994?
Attached file example code where the problem appears (obsolete) —
the solution (from dbaron@fas.harvard.edu) to use "table" instead of "inline" 
in the code solved the rendering-problem... 

thanks to all :-)
Attachment #108866 - Attachment is obsolete: true

*** This bug has been marked as a duplicate of 79315 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: