Closed Bug 232256 Opened 22 years ago Closed 22 years ago

Input field too narrow to see entered text

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 241893

People

(Reporter: xyzzy, Unassigned)

References

()

Details

(Keywords: testcase, top100)

Attachments

(2 files)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040114 Firebird/0.7+ This problem was noticed on certain amazon.com pages, but I hacked the source down to a small example that demonstartes the problem. When an input feild is in a table and these is a style setting for both the table and the input feild, the input feild is rendered too small (vertically) to even see the entered text. It is functional if you care to type "blind" Reproducible: Always Steps to Reproduce: Load this page: <html> <head> <title>Amazon.com Checkout Sign In</title> <style type="text/css"> <!-- TD, TH { font-family: verdana,arial,helvetica,sans-serif; font-size: small; } INPUT { font-family: fixed; } --> </style> </head> <body> <br> <table border="0" cellspacing="0" cellpadding="0" width="90%" align="center"> <tbody> <tr> <td> <form action="" method="post" onsubmit=""> <table border="0" cellspacing="0" cellpadding="4" align="center" width="100%"> <tbody> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tbody> <tr> <td></td> <td> <input name="email" type="text" size="30" maxlength="64"> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </form> </td> </tr> </tbody> </table> </body> </html> Actual Results: Input field is much too small vertically for the font it contains Expected Results: ?? Not sure either render the field larger, or use a smaller font
Attached file Here is the test case
This test case is a much simplified version of a login page found on Amazon
I've seen this forever, though I never got around to actually searching for the bug. Did a quick search for dups, found nothing. I'm pretty sure this would be a dup though. Confirming. Transferring to Layout: Form Controls. Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113
Status: UNCONFIRMED → NEW
Component: Layout: Fonts and Text → Layout: Form Controls
Ever confirmed: true
Keywords: testcase
Whiteboard: DUPEME
Is this only a problem on Windows with the "native" form controls? I don't see this bug on Linux....
works fine for me on windows 2000, build 2004012509
I'm running under windows 2000, Mozilla reports "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040126" and the symptom is clearly there. When I type in the field, no characters are visible because the edit field is not high enough to see the text.
Andy, this works for me in recent Mozilla 1.7b builds on winxp. Can you still reproduce this?
Keywords: top100
Whiteboard: DUPEME → DUPEME [wfm?]
I'm still seeing the problem on win2k with 20040409. I've checked with a few friends that have xp and they don't see the issue so my guess is that it doesn't effect xp.
(In reply to comment #6) > Andy, this works for me in recent Mozilla 1.7b builds on winxp. Can you still > reproduce this? I have only been testing under Win2K, so I never did reproduce it there
Summary: Input field to narrow to see entered text → Input field too narrow to see entered text
Attached file Minimal test case
Still seeing with Win98 (Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a) Gecko/20040420 and also my usual Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040207 Firebird/0.7+). Minimal test case attached: all it takes is a text input with font-family: fixed, no table or inherited styles required. Increase the text size six times with Ctrl-+ and the text becomes visible. For whatever the affected population is, this really is a topsites bug: you can shop Amazon normally, but try to sign in to purchase, and you have invisible inputs for your login information.
This is a combination of a buggy font and Amazon sending different styles to IE and Mozilla.... *** This bug has been marked as a duplicate of 241893 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME [wfm?]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: