Closed
Bug 68664
Opened 25 years ago
Closed 25 years ago
Inaccurate Form Text Box width
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: lyonlim, Assigned: rods)
References
()
Details
Attachments
(1 file)
|
301 bytes,
text/html
|
Details |
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.
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
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.
Comment 3•25 years ago
|
||
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.
Comment 4•25 years ago
|
||
| Assignee | ||
Comment 5•25 years ago
|
||
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.
Description
•