Closed Bug 128918 Opened 23 years ago Closed 23 years ago

paste of style containing paragraph renders in wrong order until reopened

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 141019

People

(Reporter: sujay, Assigned: kinmoz)

Details

(Keywords: polish)

Attachments

(1 file, 2 obsolete files)

using 3/1 trunk build Joe, this is the 4th issue we saw in Paul's office last week. 1) launch netscape 2) open first attachment test.html into browser window 3) launch composer 4) open 2nd attachment template-focal-2002.html into composer window 5) in test.html, copy "(1) Demonstrates all....thru end of the list" 6) paste into template-focal-2002.html under the area, "Employee Comments" after doing this, notice that the heading for that list is now underneath the list you just pasted!
Attached file first attachment (obsolete) —
Attached file second attachment (obsolete) —
Content isn't pretty, but it isn't in incorrect order. Layout is drawing this wrong. Interestingly, if you go to show tags mode, it draws correctly. Then if you come back to "normal", a whole bunch of content disappears. I'm sure this is driven by the illagal html in the original doc. Long live font tags! Handing off to kin in case this fits in with recent layout investigations he has done involving font tags.
Assignee: jfrancis → kin
can we get a target milestone for this bug ?
I've narrowed this down; it seems to be a problem with paste. I have a smaller html file for a testcase. Also, you can paste it into a blank composer window to see a problem (there may also be something special about pasting into tables but I haven't tested that issue). The problem looks to be that the original source (copied from browser or a composer window) has <b><p>foo</p></b> It's not clear to me why paste isn't "parsed" in the same way as opening the file. I'm nominating this for nsbeta1 since pasting data from multiple places will become more and more common and we should render more wysiwyg (it looks wrong)
Component: Editor: Composer → Editor: Core
Keywords: nsbeta1, polish
OS: Windows 98 → All
Hardware: PC → All
Summary: copy/paste of heading and list items into a template moves heading underneath → paste of style containing paragraph renders in wrong order until reopened
Attachment #72471 - Attachment is obsolete: true
Attachment #72472 - Attachment is obsolete: true
brade, I really think this is a dup of 141019.
*** This bug has been marked as a duplicate of 141019 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: