Closed Bug 1132 Opened 26 years ago Closed 26 years ago

We don't emulate this TEXTAREA quirk

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: karnaze)

Details

Legacy browsers (IE5, Nav4.5) treat text inside a TEXTAREA like PRE by default, meaning newlines are honored, so: <textarea> 1 2 3 </textarea> ... will render on 3 seperate lines. However, all whitespace (including newlines) before the first non-whitespace character is ignored. Which means that these two examples should render identically: <textarea>1</textarea> <textarea> 1</textarea> In ngLayout, we render the first newline, which should be ignored.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Fixed in Build Release 11/30.
<textarea> text </textarea> Legacy browsers honour leading spaces and trailing newlines, but Mozilla only appears to honour trailing spaces.
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.