Closed Bug 12018 Opened 25 years ago Closed 25 years ago

Copying <BR> doesn't add line break in Clipboard content

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: akkzilla)

Details

* TITLE/SUMMARY
Copying <BR> doesn't add line break in Clipboard content

* STEPS TO REPRODUCE
0) Launch Apprunner
1) Copy text from an HTML page that contains a <BR> tag to add a line break; the
news headings on www.mozilla.org contain a line-break after the bold-faced
subject header (e.g. Getting Involved, BugAThon Needs JavaScripters), and before
the actual content (e.g. "People always ask us...)
2) View the clipboard contents. (e.g. paste into SimpleText or WordPad)

* RESULT
 - What happened

The <BR> tag doesn't get translated to a line break in the Clipboard, and the
header & content are concatenated. (e.g. "Getting Involved People always ask
us...")

 - What was expected

Whatever Akkana is probably planning on doing (which I'm assuming is not the
above...)

* REGRESSION

 - Occurs On
        Mac OS Apprunner (8.17.99 AM optimized build)
        Win32 Apprunner (8.17.99 AM optimized build [NT 4, Service Pack 3])

 - Doesn't Occur On
        Linux Apprunner (8.13.99; copy/paste from apprunner to gEdit yields null
output)
        Internet Explorer 4.5 (RTM; Mac OS --- copies formatting)


* CONFIGURATIONS TESTED

- [Mac] Beige Power Mac G3 (266 MHz PowerPC 750), 96 MB RAM (VM on; 1 MB of VM
used), 1024x768 (Thousands of Colors), Mac OS 8.6

- [Win32] Vectra VL (233 MHz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3.

- [Linux] Vectra VL (266 MHz P2), 96 MB RAM.
Assignee: buster → akkana
QA Contact: sujay → elig
Assigning a QA Contact of self, and engineering contact of Akkana.
[BTW, this was tested in the browser; assigned to Editor component since I
believe that's where it would get fixed.]
There are some changes slated for the output converters; I'll look at this bug
when I make those changes.
Status: NEW → ASSIGNED
Target Milestone: M11
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed.  br tags should show up now even in unformatted output.
Verified that a <BR> adds a line break to plaintext clipboard content; checked
1999090609 Mac OS & 1999090609 Win32 builds. (Can't copy within most recent UNIX
build.)

Multiple <BR>s also add multiple line breaks, as well.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.