Textarea with overflow:hidden does not scroll as the user types in text exceeding the number of rows specified

RESOLVED INVALID

Status

()

RESOLVED INVALID
11 years ago
10 years ago

People

(Reporter: indukp, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

I have a textarea defined as follows:
<textarea rows="3" cols="20" style="overflow:hidden">
</textarea>
While typing in text, when the number of rows exceeds the value of rows attribute, the textarea does not scroll.User is unable to see what he is typing in.

Reproducible: Always

Steps to Reproduce:
1.Create a html file with the following contents
<html>
	<body>
		<textarea rows="3" cols="20" style="overflow:hidden">
		</textarea>
	</body>
</html>

2. Start typing text such that the number of rows exceeds 3 ( the rows attribute)

Actual Results:  
The text area doesn't scroll. so the user is not able to see what he is typing in.

Expected Results:  
The textarea should scroll so that the user can see what he is typing. This is how it works in IE

Comment 1

10 years ago
How is this a bug?  This is what overflow: hidden; does.

Comment 2

10 years ago
(In reply to comment #1)
> How is this a bug?  This is what overflow: hidden; does.

Indeed, and the latest IE8 build agrees.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.