Closed Bug 68664 Opened 25 years ago Closed 25 years ago

Inaccurate Form Text Box width

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 98
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 43847

People

(Reporter: lyonlim, Assigned: rods)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) BuildID: 20010209 The text box size defers from IE and NS. How does it actually render the textbox? It should have some form of consistency. Reproducible: Always Steps to Reproduce: 1.create a text box, <input type="text" name="form" size="30"> 2.view on browser 3.view page in NS and IE Actual Results: the difference in text box size/width is seen clearly. Expected Results: have a form of consistency between the various browsers. CSS property of font-size should have an effect on the size of it.
The page in question uses a strict doctype, so this has nothing to do with the problems described in bug 25657. Probably a duplicate of bug 43847 or bug 44467.
The page brings in a different style sheet depending on whether it is IE or Nav. I need a reduced test case with no linked style sheets.
Hmm... Looking at the source, the only place I see stylesheets being loaded is: var NAV=navigator; if ( (NAV.appName == 'Netscape') && (parseInt(NAV.appVersion) <= 4) ) { document.write('<link rel="stylesheet" type="text/css" href="ns.css">') } else { document.write('<link rel="stylesheet" type="text/css" href="style.css">') } now for Mozilla, appVersion is 5.0, so Mozilla and IE actually get the same style.... Attaching a testcase of the reporter's suggested <input type="text" name="form" size="30"> so that the way it renders in IE and Moz can be compared.
Attached file Testcase
I have not been able to find a way to get out text controls to size exactly like IE's when in strict mode. Feel free to review Bug 43847 and Bug 25657. Until somebody can tell me what the algorithm is, I am afraid we are stuck. *** This bug has been marked as a duplicate of 43847 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: