Closed Bug 279102 Opened 20 years ago Closed 19 years ago

HTML rendering: table row grows higher and higher each time contents are shown or hidden via javascript

Categories

(SeaMonkey :: General, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: frachg, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0


There are 2 embedded tables.
Each time one clicks the check box, a (inner) table row is shown/hidden. The
(outer) TD in which this table is placed gets higher and higher as the contents
of the embedded table are shown/hidden. Very ugly.
Works fine with Netscape and IE.


Reproducible: Always

Steps to Reproduce:
You have to create a userid on www.anewplace.co.nz (make it MOZBUG or something
similar I will not delete), and start filling the form which creates a listing
to see the bug. bug is seen at 2 locations:
- garage/parking for xx cars
- 'Other premise attached' check box

Actual Results:  
table row height grows for ever

Expected Results:  
table row height remains constant

std theme
just a quick question does the javascript use display:block or none for table rows?
that's right. 

style.display = "block" or "none" for TR.

Don't tell me it is already known, I looked hard before posting.  :P
Ooops, i have found:

97506 and 175190. Both seem to point to the same thing. 

The latter should be tagged as a duplicate of the former, apparently.

3 years and not fix  :(  Looks like an ad for M$

Hopefully Jon will find the error. 
I see that you are aware of both, Bernd, and since i am a total noobie, I leave 
it up to you what do do with this one, and what do do with the 2 duplicates.  

Funny that the bug wasn't there in netscape. But hey, what do i know?

Thanks guys, Chris.

fyi, I modified the markup to work around this bug.
I added a span inside the table, and i now display=none/block the span instead
of tr. 
works fine for me coz i dont't care about hiding the actual row, i.e. the row
taking height space is no issue. not eveyone's workaround.
cheers.
Version: unspecified → 1.7 Branch
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: