Pasting text formatted with <PRE> loses formatting

VERIFIED FIXED

Status

()

Core
Layout
P3
normal
VERIFIED FIXED
17 years ago
16 years ago

People

(Reporter: jesup, Assigned: Joe Francis)

Tracking

Trunk
x86
FreeBSD
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(2 attachments)

(Reporter)

Description

17 years ago
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...

Comment 1

17 years ago
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?
(Reporter)

Comment 2

17 years ago
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.
(Assignee)

Comment 3

17 years ago
I'll grab ownership of this one.  cc'ing Akkana
Assignee: clayton → jfrancis

Comment 4

17 years ago
joe, is this important enough for rtm, or should it be futured? whatever you 
think.

anthonyd

Comment 5

17 years ago
this can wait till post rtm
Target Milestone: --- → Future

Comment 6

17 years ago
It seems line break is lost when a line ends with </a>.

Comment 7

17 years ago
Created attachment 16424 [details]
Testcase

Comment 8

17 years ago
Sorry, the previously attached testcase was wrong.

Comment 9

17 years ago
Created attachment 16425 [details]
Testcase (The previous one was wrong)
(Assignee)

Comment 10

17 years ago
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

Comment 11

17 years ago
updating status whiteboard
Whiteboard: [rtm NEED INFO]FIXED IN TRUNK
Target Milestone: Future → M19

Comment 12

17 years ago
Adding dependency on bug #50742.
Depends on: 50742
(Assignee)

Comment 13

17 years ago
fixed by noxif landing
Status: ASSIGNED → RESOLVED
Last Resolved: 17 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

Comment 15

17 years ago
qa contact updated.
QA Contact: gerardok → bsharma

Comment 16

17 years ago
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.