Closed Bug 283053 Opened 20 years ago Closed 20 years ago

form with "display: table;" hides its internals sometimes

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ashaduri, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Opera/8.0 (X11; Linux i686; U; en)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

I have a form with a "display: table;" style. The form displays fine, but if I add a <select> element with at 
least one option, the whole form hides (even the text disappears) and only the select element is displayed.
Note that this is not the regular behaviour. Sometimes I have a form with a <select> element and "display: 
table;" style and it displays fine (I guess there are other factors too).
In case anyone's wondering, I use "display: table;" to achieve the width-limited nature of the table - it only 
takes as much space horizontally as it needs and no more. If there is some other way to do it, please tell.


Reproducible: Always

Steps to Reproduce:
1. Create an html form with plenty of elements, especially <select>-s. I used one <select> with one <option>, 
one <input type="text">, one <textarea>, one <input type="submit"> and some text.
2. open the file in mozilla.
Actual Results:  
Only the <select> element was displayed. All other form elements were gone.

Expected Results:  
The whole form should be displayed.
Attached file A test case for this bug. (obsolete) —
This is a page that triggers the bug.
This file is a zip file because when I tried attaching a html file, it
displayed just fine. I guess it has something to do with this site adding some
additional things to the source.
Just extract the zip and open the extracted file manually.
Attachment #175045 - Attachment is obsolete: true
Reproducible on Firefox 1.0 too.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0
WFM, 2005-02-21-05 trunk Linux

Reporter, can you reproduce the problem in the latest trunk build?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/
Keywords: testcase
I cannot reproduce this bug with the latest (as of 2005-02-22) trunk build from
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

I used Firefox on win2k.
Marking worksforme per comment 5
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: