Closed
Bug 252926
Opened 21 years ago
Closed 21 years ago
Dragging text from inside <a name></a> grabs name attribute
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Core
DOM: Copy & Paste and Drag & Drop
Tracking
()
RESOLVED
FIXED
People
(Reporter: megabyte, Unassigned)
References
()
Details
Steps to reproduce:
1. Select some of the bold header text by any commenter (ex: the first one I see
is "Courtesy of Ellen Feiss")
2. Drag the text anywhere... location bar, tab, another application with text input
3. Instead of the selected text being pasted, numbers from the link at the end
of the header are pasted ("9734851" in this example)
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8a3) Gecko/20040723
Firefox/0.9.1+
![]() |
||
Comment 1•21 years ago
|
||
The markup is:
<A NAME="9734851"><B>Courtesy of Ellen Feiss</B></A>
So we think we're dragging an anchor and end up dragging the anchor's name
(which is desirable for actual anchors).
My build with the patch for bug 251775 isn't showing this problem (since it
checks for a reasonable href attribute before deciding that an <a> is an anchor).
Depends on: 251775
Reporter | ||
Comment 2•21 years ago
|
||
Aha, I should have looked at the markup more closely... amending summary.
OS: Windows Server 2003 → All
Hardware: PC → All
Summary: Dragging certain text grabs wrong text → Dragging text from inside <a name></a> grabs name attribute
![]() |
||
Comment 3•21 years ago
|
||
Fixed by patch in bug 251775
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•