Closed
Bug 415094
Opened 17 years ago
Closed 17 years ago
Text in text field not visible due to height
Categories
(Core :: Widget, defect, P2)
Core
Widget
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(3 files)
Build Id: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b2) Gecko/2007121014 Firefox/3.0b2
Navigate to url or see testcase. The text in the url field is chopped in Firefox 3. It is not chopped in IE, Safari or Opera.
Reporter | ||
Updated•17 years ago
|
Component: Error Console → Editor
Product: Firefox → Core
QA Contact: error.console → editor
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Comment 2•17 years ago
|
||
Reporter | ||
Updated•17 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Reporter | ||
Updated•17 years ago
|
Flags: blocking1.9?
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Reporter | ||
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•17 years ago
|
Comment 3•17 years ago
|
||
Comment 4•17 years ago
|
||
I don't think this is a bug in Firefox.
testcase 2 shows what's going on here. When we give the textfield a height of 16px, that means its *total* size is 16px -- not its content area.
In particular, in testcase 2, the textfield has a specified height of 16px, and we can see that this is its *total* height, because the div wrapping the textfield gets a computed-height of 16px.
BUT -- the actual content area of the textfield (its computed height) is much less, after we subtract off its border/padding/margin.
The textfield has an actual computed-height of 8px on Linux/Mac, and 10px on Windows, neither of which is large enough to show the 11px-tall-text. (especially because the lower bits of the 'j' 'y' and 'g' characters hang outside the 11px)
Comment 5•17 years ago
|
||
Yup -- the original website has:
style="font-size: 11px; height: 18px; width: 120px"
on all of its textfields.
After we subtract off 8px for the padding/border/margin[1], it's natural that 11px-high text wouldn't fit.
Resolving as invalid -- dbaron, correct me if I'm wrong here.
[1] testcase 2 shows that inputComputedHeight = inputSpecifiedHeight-8px on Mac/Linux. (I verified this by testing other heights as well.)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Comment 6•17 years ago
|
||
(In reply to comment #5)
> Yup -- the original website has:
> style="font-size: 11px; height: 18px; width: 120px"
> on all of its textfields.
Note that, at least on Linux, the original website looks ok in FF2 but not in FF3 because the padding/border/margin increased from 6px in FF2 to 8px in FF3, presumably due to the switch to native widgets. So more of the textfield's total height was available for text content in FF2.
Updated•17 years ago
|
Component: Editor → Widget
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•