Closed Bug 139995 Opened 22 years ago Closed 22 years ago

textarea not displaying contents properly if cols attribute missing

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: alex, Assigned: rods)

References

()

Details

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
er, should have doubled checked the HTML 4.01 recommendation first...sorry.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.