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)
Tracking
()
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.
![]() |
||
Comment 1•24 years ago
|
||
Seeing this on Linux too.
Assignee: asa → rods
Component: Browser-General → HTML Form Controls
OS: Windows 2000 → All
QA Contact: doronr → bsharma
![]() |
||
Comment 2•24 years ago
|
||
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
![]() |
||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
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
Assignee | ||
Comment 5•24 years ago
|
||
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
Comment 6•24 years ago
|
||
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...
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
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.
![]() |
||
Comment 10•24 years ago
|
||
*** This bug has been marked as a duplicate of 82626 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•