Closed Bug 285228 Opened 20 years ago Closed 20 years ago

Textarea element for html forms is incorrectly implemented

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 33654

People

(Reporter: sfagg, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 The definition for the textarea element is incorrect. The textarea element is rendering Rows + 1. For example: If <Textarea name="ProposedDevelopment" rows=4 cols=44></textarea>, the browser is displaying 5 rows. Reproducible: Always Steps to Reproduce: 1.Code basic HTML page with a textarea element 2.Open in browser. Actual Results: Renders rows + 1 Expected Results: Conformed to the W3C specification. http://www.w3.org/TR/html401/interact/forms.html#h-17.7 rows = number [CN] This attribute specifies the number of visible text lines. Users should be able to enter more lines than this, so user agents should provide some means to scroll through the contents of the control when the contents extend beyond the visible area. May not technically be a bug but makes trying to use CSS2 to line up divs difficult. Also, has to be a problem if IE can get it right.
*** This bug has been marked as a duplicate of 33654 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.