469,889 Members | 1,465 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

Firefox's textarea behavior

Why does the following happen? How can it be suppressed?

Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!

<html>
<body>
<form>
<img src="http://www.google.com/intl/en_ALL/images/logo.gif">
<input type="reset">
<br>
<textarea rows="27" cols="100"></textarea>
</form>
</body>
</html>

--TIA
Mar 8 '08 #1
8 1991
McKirahan wrote:
Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!
I get only two, so my Firefox 2.0.0.12 is 26 times better than yours. :-)

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Mar 8 '08 #2
"Steve Swift" <St***********@gmail.comwrote in message
news:47******@news.greennet.net...
McKirahan wrote:
Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!

I get only two, so my Firefox 2.0.0.12 is 26 times better than yours. :-)
I'm using the same version but I get this:

http://www.google.com/intl/en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/im...ogle.com/intl/
en_ALL/images/logo.gif
http://www.google.com/intl/en_ALL/images/logo.gif
Mar 8 '08 #3
SAM
McKirahan a écrit :
Why does the following happen? How can it be suppressed?

Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!
I get only one url

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12

--
sm
Mar 8 '08 #4
McKirahan wrote:
Why does the following happen? How can it be suppressed?

Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!

[...]
With Valid markup, which yours is not, the image's URL followed by newline
followed by the value of the `img' element's `alt' attribute value is
displayed here. If the `alt' attribute value is empty, the image's URL is
displayed twice instead. There is no difference in behavior between
Standards compliance mode and Quirks mode.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201
Firefox/2.0.0.12

ISTM none of the drag-and-drop events can be handled so that the default
action is prevented here.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Mar 8 '08 #5
SAM
Thomas 'PointedEars' Lahn a écrit :
McKirahan wrote:
>Why does the following happen? How can it be suppressed?

Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!

[...]

With Valid markup, which yours is not, the image's URL followed by newline
followed by the value of the `img' element's `alt' attribute value is
displayed here.
With :
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12

no alt displayed
If the `alt' attribute value is empty, the image's URL is
displayed twice instead. There is no difference in behavior between
Standards compliance mode and Quirks mode.
In one mode or other one : only one url without alt
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201
Firefox/2.0.0.12
same navigator, same version and same rv
and Mac or Windows ... no same results ? :-(
or Fx has some difficulies with French ?

--
sm
Mar 8 '08 #6
McKirahan wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
>McKirahan wrote:
>>Why does the following happen? How can it be suppressed?

Under Firefox, use the left-mouse button to drag any image
into the textarea and 52 copies of the image's URL appear!

[...]
With Valid markup, which yours is not, the image's URL followed by newline
followed by the value of the `img' element's `alt' attribute value is
displayed here. If the `alt' attribute value is empty, the image's URL is
displayed twice instead. There is no difference in behavior between
Standards compliance mode and Quirks mode.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12

ISTM none of the drag-and-drop events can be handled so that the default
action is prevented here.

Still wanting to know: "How can it be suppressed?"
[...]
I gave you the answer already.

This is not a JavaScript problem, and it cannot be fixed with JavaScript.

Maybe it has something to do with your obsolete OS, or with your mouse
driver. Anyway, it is quite off topic here.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Mar 8 '08 #7
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote in message
news:47**************@PointedEars.de...
McKirahan wrote:
I couldn't find "mozilla.support.firefox" but I posted it to
"MozillaZine Forum Index -Firefox Support" at:
http://forums.mozillazine.org/

This is rather a Firefox on Windows 98SE bug and therefore belongs to
https://bugzilla.mozilla.org/ instead.
It's worse under Win98SE but still occurs under WinXP Pro SP2.
Please correct the settings of your newsreader simulation so that it
produces legible output (including one where it is possible to recognize
quotations at a glance, as you can see here), or get a compliant
newsreader
in the first place. I can recommend Mozilla Thunderbird.
Outlook Express normally inserts "" before each previously posted
line -- I don't know why it didn't in my response to VK.
Mar 9 '08 #8
McKirahan wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.dewrote [...]
>McKirahan wrote:
>>I couldn't find "mozilla.support.firefox" but I posted it to
"MozillaZine Forum Index -Firefox Support" at:
http://forums.mozillazine.org/
This is rather a Firefox on Windows 98SE bug and therefore belongs to
https://bugzilla.mozilla.org/ instead.

It's worse under Win98SE but still occurs under WinXP Pro SP2.
Not here. Probably your configuration, hardware or an extension is the
source of the problem. This is to be found out by submitting a bug in
Bugzilla instead of further bothering this newsgroup with JS-unrelated problems.
>Please correct the settings of your newsreader simulation so that it
produces legible output (including one where it is possible to recognize
quotations at a glance, as you can see here), or get a compliant
newsreader
^^^
>in the first place. I can recommend Mozilla Thunderbird.

Outlook Express normally inserts "" before each previously posted
line
And by default it does so in a way that renders the quotation hardly
legible, see above.
-- I don't know why it didn't in my response to VK.
| Content-Transfer-Encoding: quoted-printable

As I said, your posting agent is broken. An upgrade might fix this.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Mar 9 '08 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Csaba Gabor | last post: by
1 post views Thread by richardsayre | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.