Closed
Bug 244687
Opened 20 years ago
Closed 20 years ago
textarea-element is created one line too high
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: mikko.karhunen, Unassigned)
Details
User-Agent: Mozilla/5.0 (fi,en-us; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (fi,en-us; rv:1.6) Gecko/20040206 Firefox/0.8
<textarea rows="3"></textarea>
The example should create 3 lines high textarea, but instead the created area is
4 lines high. Textarea is always one line too high. Apparently Mozilla reserves
extra space for horizontal scrollbar even if it not shown. Because the
horizontal scrollbar is very rarely needed, the feature is merely anoying. This
may be the only thing that Internet Explorer does better than Mozilla. Explorer
always shows vertical scrollbar (vs. shown when needed, which leads to wraping
the line again), and forcefully wraps too long words thus making horizontal
scrollbar unnecessary.
Reproducible: Always
Steps to Reproduce:
1. <textbox
2. rows="1"
3. >/textbox>
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 33654 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Comment 2•20 years ago
|
||
*** Bug 248013 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•