Closed Bug 70019 Opened 24 years ago Closed 24 years ago

[CBX][EVG]line-height causes drop down items to be cut off

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 82626
mozilla1.0

People

(Reporter: joel, Assigned: rods)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

This has been there for some time. Take a look at the "Customer Login" select box. The top half of all the options is chopped off.
Seeing this on Linux too.
Assignee: asa → rods
Component: Browser-General → HTML Form Controls
OS: Windows 2000 → All
QA Contact: doronr → bsharma
OK, I've found what's causing this. The <select> is in a <p> and there is the following style rule: p { line-height: 0px; } Taking out this rule makes things look good. I'm not sure how line-height should be affecting the way we display text in <option> elements, so setting qa to hixie.
QA Contact: bsharma → ian
Changing summary to better reflect the problem. Confirming Platform: PC OS: Windows 98 Mozilla build: 2001022007 Marking NEW.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: drop down items chopped off → line-height causes drop down items to be cut off
It may be doing the right thing, I'll have to talk to the core layout guys. Thanks for the help.
Status: NEW → ASSIGNED
Summary: line-height causes drop down items to be cut off → [CBX][EVG]line-height causes drop down items to be cut off
Target Milestone: --- → mozilla1.0
The text is positioned correctly. Dunno if we size correctly or not though. Trying to work with line-height:0 gives me headaches. ;-) This should get fixed when we switch to XBL widgets...
*** Bug 74277 has been marked as a duplicate of this bug. ***
Attached file Testcase #2
The attached testcase #2 have "body { line-height: 3; }". This specification is applied to contents of <select> and <textarea>. Internet Explorer 5 doesn't apply line-height to contents of <select> or <textarea>. Mozilla should work as such.
*** This bug has been marked as a duplicate of 82626 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: