Closed Bug 670554 Opened 15 years ago Closed 15 years ago

When copying a link the reference attribute gets lost

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.2 Branch
All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 647682

People

(Reporter: post, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; de-de) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1 Steps to reproduce: Open HTML-file (which doesn't contain a <base ...> tag) in Composer [view: "Normal"] Select a link (either by double-clicking or clicking onto the <a> tag in the status bar) Edit : Copy Put the caret to a new position Edit : Paste Actual results: The link text is pasted to the caret position, however, it is not a valid link. Viewing the source reveals: The <a> object including the link text has been inserted at the new caret position, but the href attribute is missing. The first version in which this bug occurs is SeaMonkey 2.0.12; 2.0.11 works fine. Expected results: The complete link object should be pasted to the new caret position. When the head of the HTML file contains a valid <base ..> tag, the newer SM versions 2.0.12 - 2.2 copy and paste a link without losing the href attribute, too.
Just tested against 2.2 and cannot reproduce, can you attach a test case HTML document it fails on?
Maybe you tested copying an external link. The problem seems to occur only with internal links (see attachment test.html provided). Also try to copy the links of the"About SeaMonkey" page!
This should be fixed by fix for bug 647682...
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: