Pasting inline in Hx elements splits and element and inserts new one

RESOLVED EXPIRED

Status

()

Core
Editor
RESOLVED EXPIRED
15 years ago
12 years ago

People

(Reporter: Richard A. Wells, Assigned: Joe Francis)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Pasting into an Hx element doens't just insert the text but instead splits the
element at the insertion point and puts a new element (of the same type) with
the pasted text between the now-split portions of the original element.

Reproducible: Always

Steps to Reproduce:
1. New composer window
2. Set style to Heading 1
3. Type "This is a test" + Enter
4. Set style (of second para) to Heading 1
5. Type "This is another test" + Enter
6. Double-click on "another" to select "another " [trailing space intentional]
7. Type Ctrl+X to cut.
8. Double-click on "a" (in para 1) to select "a "
9. Type Ctrl+V to paste.

Actual Results:  
The doc had this structure:

<h1>This is </h1>
<h1>another </h1>
<h1>test</h1>
<h1>This is test<br>
</h1>

Expected Results:  
<h1>This is another test</h1>
<h1>This is test<br>
</h1>

This doesn't seem to happen with Body, Paragraph, and Address styles, but it
does happen with other Hx styles.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.