Closed
Bug 92446
Opened 24 years ago
Closed 24 years ago
the size attribute for <input type=text> differs in standards mode vs. quirks mode
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: madhur, Assigned: rods)
Details
Attachments
(2 files)
buildID: 20010724-18-0.9.2
1. open the 2 testcases attached below. "Test case 1" has a transitional doctype
(standards mode) and the "Testcase 2" has no-doctype (quirks mode)
2. in both these testcases, the input text form-control has size="15"
3. input "123456789012345" in the form-control
actual:
Testcase 1:- only "13" characters are visible at one time (this is not the
desired result.
Testcase 2:- all the "15" characters are visible at one time (this is the
desired result)
expected:
the visible number of characters input in the form-control input-text in
standards mode (with DOCTYPE) should also be equal to the value of the size
attribute.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
This is a duplicate of bug 44656.
we use fixed-width font in quirks mode and the document font in strict mode.
Style the controls with a fixed-width font if you really care about the sizing
being that precise....
*** This bug has been marked as a duplicate of 44656 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•