textarea not displaying contents properly if cols attribute missing

RESOLVED INVALID

Status

()

--
minor
RESOLVED INVALID
17 years ago
17 years ago

People

(Reporter: alex, Assigned: rods)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc1)
Gecko/20020417
BuildID:    2002041711

content of a textarea box is 'transparent' if you don't specify cols="". you can
override the cols with style="width:x" as you would expect, but you have to at
least provide cols="" (i.e. with no value specified) for the content of the
textarea to be rendered.

note: the content is 'there', you can select it and read it once highlighted,
but not in its 'natural', unselected state.

Reproducible: Always
Steps to Reproduce:
1. <textarea rows="10" style="width:400px">content</textarea>

Actual Results:  content of textarea not visible, though textarea box is

Expected Results:  content should be visible

<textarea rows="10" style="width:400px" cols="">content</textarea>

this works
(Reporter)

Comment 1

17 years ago
er, should have doubled checked the HTML 4.01 recommendation first...sorry.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.