Closed Bug 58220 Opened 24 years ago Closed 19 years ago

[LNX][CBS,LST]Select boxes rendering weird when using CSS to size the control small

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: djoham, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-15mdk i686; en-US; m18) Gecko/20001023
BuildID:    2000102306

If you use style="width:<somesmallvalue>; height:<somesmallvalue>" on an HTML
SELECT element, mozilla gets very confused as to what to do with the scrollbars
for the control. Linux displays the full toolbar set while Windows shows some
kind of square box thing. This is very visible when you use width:0px; height:0px.

Reproducible: Always
Steps to Reproduce:
Open test case I'm attaching. this uses width:0px; height:0px

Note the display of the SELECT box

Actual Results:  The SELECT Element is rendered weird

Expected Results:  The SELECT box should be rendered non-weird. For example,
with width and height of 0, nothing should be displayed. For small values of
width and height, scrollbars should not be displayed unless there is a place to
put them in the assigned height.

IE renders the element as I would expect.

Why do I care about width:0 and height:0? Why don't I just use display: none?
Because bug 34297 won't let me. Drat!
Attached file test case
I'm seing this problem on Windows 98 build 2000111704. The problem seems to be
due to the width:0px. If you set height:0px and don't specify any width, the
form element doesn't display, like the reporter wants to have. The problem
starts, when I specify a width less than 30px (but this size depends of the
contents).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 62245
Status: NEW → ASSIGNED
Summary: Select boxes rendering weird when using CSS to size the control small → [CBS,LST]Select boxes rendering weird when using CSS to size the control small
Summary: [CBS,LST]Select boxes rendering weird when using CSS to size the control small → [FIX][CBS,LST]Select boxes rendering weird when using CSS to size the control small
fixed
Status: ASSIGNED → NEW
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
This has regressed and is now broken again. Mozilla/Linux/2001040215
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: --- → mozilla0.9.2
Status: REOPENED → ASSIGNED
Keywords: regression
Summary: [FIX][CBS,LST]Select boxes rendering weird when using CSS to size the control small → [WAS FIXED][CBS,LST]Select boxes rendering weird when using CSS to size the control small
Summary: [WAS FIXED][CBS,LST]Select boxes rendering weird when using CSS to size the control small → [FIX][CBS,LST]Select boxes rendering weird when using CSS to size the control small
Attached patch patchSplinter Review
patch 36524 looks fine to me - [s]r=attinasi
Blocks: 83989
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
Verified on
build: 2001-06-20-04-Trunk
platform: Win NT

When I load the attached test case, nothing is displayed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Doesn't look like this is getting fixed before tomorrow night. Pushing out a
milestone.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
This seems to be ok in today's build. I see nothing.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
In linux7.1 I'm still seeing scroll bars but on win98 nothing is displayed
Reopening Bug : Linux is still a problem. Build 2001082208  os:Linux redhat 7.1
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
moving to 0.9.5 and will try to take a look soon.
Status: REOPENED → ASSIGNED
Summary: [FIX][CBS,LST]Select boxes rendering weird when using CSS to size the control small → [LNX][CBS,LST]Select boxes rendering weird when using CSS to size the control small
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Target Milestone: mozilla0.9.5 → mozilla0.9.6
moving to 0.9.6
Moving to Future
Target Milestone: mozilla0.9.6 → Future
Priority: P3 → --
Assignee: rods → nobody
Status: ASSIGNED → NEW
QA Contact: bsharma → layout.form-controls
This WORSKFORME.
Status: NEW → RESOLVED
Closed: 23 years ago19 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: