Closed Bug 53188 Opened 24 years ago Closed 24 years ago

Pasting text formatted with <PRE> loses formatting

Categories

(Core :: Layout, defect, P3)

x86
FreeBSD
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jesup, Assigned: mozeditor)

References

()

Details

(Whiteboard: [rtm NEED INFO]FIXED IN TRUNK)

Attachments

(2 files)

FreeBSD 4.1 20000918xx

Select some text from this page (which is formatted with <pre>).  Paste it into
an editor/etc.  Note that all the formatting (line breaks) has been lost.  The
problem appears to be specific to <pre>.

Not sure if this is the right component...
How does this work with 4.x?  My guess is that it would have to do something with 
the parser if the document is *formatting* properly in the browser.  No?
Under 4.x and IE it works just fine - the selected text retains it's formatting
(i.e. it's line breaks).

The document displays correctly in Mozilla, it's only on Copy/Paste that <PRE>
text has a problem.  Regular non-<PRE> text Copy/Pastes fine.
I'll grab ownership of this one.  cc'ing Akkana
Assignee: clayton → jfrancis
joe, is this important enough for rtm, or should it be futured? whatever you 
think.

anthonyd
this can wait till post rtm
Target Milestone: --- → Future
It seems line break is lost when a line ends with </a>.
Attached file Testcase
Sorry, the previously attached testcase was wrong.
This is now fixed in mozilla, but not in ns6 branch.  hoping to land in ns6 prior 
to rtm.  pdt folks: this is fixed by noxif landing.
Status: NEW → ASSIGNED
Keywords: rtm
updating status whiteboard
Whiteboard: [rtm NEED INFO]FIXED IN TRUNK
Target Milestone: Future → M19
Adding dependency on bug #50742.
Depends on: 50742
fixed by noxif landing
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reassigning QA Contact for all open and unverified bugs previously under Lorca's
care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
qa contact updated.
QA Contact: gerardok → bsharma
Verified on:
build: 2000-03-07-10-Mtrunk
platform: WinNT
Copied the complete text from the attachment and pasted it on Wordpad.
The line breaks were fine.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: