Closed Bug 292739 Opened 20 years ago Closed 20 years ago

Drag&Drop don't drop the content of a html page use selectAll and page contains <a name> elements

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: larouanne, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

When a page contains an element <A name> mozilla don't drag&drop if correctly
(instead it drop the "name" attribute of the A element)

Reproducible: Always

Steps to Reproduce:
1. Go to Url http://zmx.homeip.net/testcase.html (or other url that contains a name)
2. Select all the page (important: with Ctrl+A or "select All" in contextual menu)
3. Drag the selected content into a text editor

Actual Results:  
The only text dropped are the content of the attribute name of the first "a
name" element

Expected Results:  
Drop the content of the selection

Tested on :
- Windows 1.0.3 Firefox
- Windows 1.6.X mozilla
- Linux 1.0.2 FireFox
- Mac 1.6.X Mozilla

This bug seem to appears in an other case:
When you select (with mouse) a text that contains <A NAME> (but I can't
reproduce it in a testcase...)
For me, result with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3 is:
Test1
Test 1
Test 2 

But result with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2)
Gecko/20050503 Firefox/1.0+ is:
Test 1
Test 2 

Reporter, can you please clarify what you actually see, and what you except to
see? Also, can you try with a nightly trunk (1.1beta) build of firefox, and
report back? Thanks!
http://ftp.uni-erlangen.de/pub/mozilla.org/firefox/nightly/latest-trunk/
I'm sorry, that work in CVS build (linux and windows, Mac not tested)
I've only tested on latest official release
Larouanne, I do not understand your last response.  Does the CVS build perform
correctly?  If so, this bug can be closed as WORKSFORME.
That work with CVS build.
Resolving WFM
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.