FLUID-889: Newline character displayed as single space, using FF3

Metadata

Source
FLUID-889
Type
Bug
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Colin Clark
Reporter
Justin Obara
Created
2008-07-10T16:06:50.000-0400
Updated
2008-11-07T13:07:24.000-0500
Versions
  1. 0.1
  2. 0.3
  3. 0.4beta1
  4. 0.4
  5. 0.5
  6. 0.6beta1
Fixed Versions
N/A
Component
  1. Inline Edit

Description

When cut & pasting text containing a newline character into an in-line edit field, the newline character is displayed as a single space without any wrapping. The text should be displayed on two seperate lines.

Steps to reproduce:

1) Open the in-line edit demo from the daily build site:
http://build.fluidproject.org/fluid/sample-code/inline-edit/announcements/announcements.html

2) Open an in-line edit field in edit mode

3) cut & paste the following text into the in-line edit field

"before newline
after newline"

4) press enter to leave edit mode. Notice that the text is displayed in a single continuous line with only a single whitespace sepererating what was two lines of text. Notice that in edit mode the new line character is also transformed into a single space.

Environments

FF3 (Mac OS X, Win XP)

Attachments

Comments

  • Justin Obara commented 2008-07-10T16:08:40.000-0400

    'screenshot-1' shows how the text is displayed by in-line edit

  • Justin Obara commented 2008-10-31T09:33:01.000-0400

    design-watched

  • Antranig Basman commented 2008-11-07T13:07:24.000-0500

    This issue cannot be resolved, for similar reasons to FLUID-890 and others. Support for multi-line operations in single-line fields in browsers is fundamentally inconsistent, and if multi-line operations are required, the integrator must supply a multi-line edit view.