Closed Bug 255651 Opened 20 years ago Closed 20 years ago

Textarea control renders incorrect number of rows

Categories

(Core :: Layout: Form Controls, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 33654

People

(Reporter: dm.hunt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8

The textarea control renders incorrect number of rows, the ROWS attribute is the
number of rows that will be available in the visible TEXTAREA. Look at
http://www.w3.org/TR/html4/interact/forms.html#h-17.7 The Firefox 0.9.3 browser
displays one more than ROWS defines. e.g. if you try <TEXTAREA ROWS="3"> you'll
get four rows, rather than three rows. The default number is not the same as
Internet Explorer, it would be nice for me to open a page in both browsers and
overlay them and not notice any difference. One of the controls preventing this
is the TEXTAREA control.

Reproducible: Always
Steps to Reproduce:
Create a TEXTAREA control on an HTML page and view it in Mozilla Firefox and
Internet Explorer, look at the difference. It has got my graphic designer
hanging on a thread!
Actual Results:  
Got one too many lines in the TEXTAREA.

Expected Results:  
Rendered the correct number of lines, either ROWS attribute or default.
Assignee: firefox → nobody
Component: General → Layout: Form Controls
Product: Firefox → Browser
QA Contact: firefox.general → core.layout.form-controls
Version: unspecified → 1.7 Branch
This is already filed.
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 33654 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.