Open
Bug 319202
Opened 20 years ago
Updated 3 years ago
Resizing input boxes does not readjust containing text.
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: stevenm, Unassigned)
Details
Attachments
(1 file)
|
399 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.12) Gecko/20050915
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.12) Gecko/20050915
When an input box is resized using Javascript and Input.size = someval, the text in the input box (if it is longer than the box or has been left-scrolled) is not readjusted to show more of the text now that the box is larger. Example:
"TestTest"
Size: 6
+------+
|stTest|
+------+
Resize: 8
+--------+
|stTest |
+--------+
The text should be shifted right to show:
+--------+
|TestTest|
+--------+
Reproducible: Always
Steps to Reproduce:
1. Create an input element on a webpage.
2. Place a large amount of text in the element that forces it to scroll.
3. Use getElementById("yourinput").size (or assign it to a variable, just access the .size member) and resize the element to be something larger than it currently is.
The whitespace on the right will display.
Actual Results:
The whitespace on the right displayed.
Expected Results:
The text should be adjusted to fill as much of the box as possible.
Comment 1•20 years ago
|
||
can you provide a testcase?
Also please test with a more recent build:
http://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/contrib/latest-mozilla1.8/
Assignee: general → nobody
Component: General → Layout: Form Controls
Product: Mozilla Application Suite → Core
QA Contact: general → layout.form-controls
Version: unspecified → 1.7 Branch
Comment 2•19 years ago
|
||
Updated•3 years ago
|
Severity: trivial → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•