Closed Bug 119915 Opened 23 years ago Closed 22 years ago

When Cols is not defined no wordwrap occurs

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: TucsonTester3, Assigned: kinmoz)

References

Details

(Keywords: testcase)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
BuildID:    2002011308
OS: WinME

When Cols is not defined no wordwrap occurs

Using the HTML Forms casebase Textarea test, when Cols is defined wordwrap 
occurs, when no cols definition no word wrap occurs.

Reproducible: Always
Steps to Reproduce:
1.Open NS Browser to Forms control testing
2.scroll down to Control Type :- Textarea
3.select WrapHard.HTML or any other test area that follows
4.open selected test case and enter test with spaces


Actual Results:  on test cases where COLS is not defined, no word wrap occurs
It continues on a horizontal path and creates a Horizantal scroll bar

Expected Results:  In the testcases where COLS is not defined Wordwrap should 
take effect at end of textarea without the need to hit enter
Also seen in Mac
changing to all/all
OS: Windows ME → Windows 95
Hardware: PC → All
-->
Assignee: rods → kin
Attached file testcase
Whiteboard: DUPME
Target Milestone: --- → mozilla1.1
Adding testcase keyword.
Keywords: testcase
*** Bug 132866 has been marked as a duplicate of this bug. ***
*** Bug 134928 has been marked as a duplicate of this bug. ***
*** Bug 141629 has been marked as a duplicate of this bug. ***
*** Bug 142132 has been marked as a duplicate of this bug. ***
Also seen in windows 2000, changed OS to "all"
OS: Windows 95 → All
Re-adding the CC's that were accidentally removed.
*** Bug 143757 has been marked as a duplicate of this bug. ***
Note also that no wrapping occurs even if the width is set by CSS (e.g.
style="width: 200px") unless there is a Cols attribute (the value of the Cols
attribute is, in this case, ignored - but it must be present for wrapping to occur).

See http://www.newhouses.f2s.com/mozilla_testing/textarea_wrap.html and bug 143757.
Keywords: nsbeta1
Note: Cols is a #required attribute of TextArea it is not optional.
http://www.w3.org/TR/html401/interact/forms.html#edef-TEXTAREA
Surely it's OK to set the size using CSS (e.g. style="width: 200px") instead of
cols= ?

Still, no excuse for the odd wrapping behaviour.
Target Milestone: mozilla1.1alpha → mozilla1.1beta
nsbeta1-. Not a "stop ship" bug
Keywords: nsbeta1nsbeta1-
*** Bug 158803 has been marked as a duplicate of this bug. ***
Whiteboard: DUPME
Target Milestone: mozilla1.1beta → mozilla1.3alpha
*** Bug 166478 has been marked as a duplicate of this bug. ***
Newsflash:  The testcase wraps just fine and dandy in 2002100714, winXP. 
Somebody musta fixed something by accident...
Yep, both the attached testcase and my testcase (see comment 12) now seem to
work fine (2002101508 Linux).
Yeah this was fixed with the checkin for bug 164641 ... I just forgot to close
this bug out as fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: