Re: Broken links

Hello.
Thank you for your help. However the new spec you linked me to does not 
contain anything I didn't know regarding my problem:
I'd quote the explanation of .setData
(https://html.spec.whatwg.org/#dom-datatransfer-setdata)

    and whose data is the string given by the method's second argument.

As soon as I want to insert binary data (as image/png) I don't know what 
kind of string should be passed. Base64? Binary string (bytes in string)? 
DataURI? The same question troubled me even before (I already found same 
information on MDN)
(https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer#setData.28.29)
.

Further more, there's no information about copy/cut event handlers. Since 
everything I tried failed, I need to have a strong evidence that I'm doing 
everything right before I post on individual browser's forums asking for 
implementation status and any kind of help.

If my requirement is still unclear please try to read this question on 
StackOverflow: http://stackoverflow.com/q/27206268/607407
(http://stackoverflow.com/q/27206268/607407). It basically describes the 
problem.

Thank you very much for your time and help,
Jakub Mareda


---------- Původní zpráva ----------
Od: Tab Atkins Jr. <jackalmage@gmail.com>
Komu: Jakub Mareda <JMareda@seznam.cz>
Datum: 1. 12. 2014 22:41:19
Předmět: Re: Broken links

"On Sun, Nov 30, 2014 at 4:28 AM, Jakub Mareda <JMareda@seznam.cz> wrote:
> Hello,
> I'm investigating how to actually allow user to copy image data from web
> application. I have encountered broken links in the specification:
>
> http://dev.w3.org/2006/webapi/clipops/clipops.html#h2_apis-from-other-
specifications
>
> Click setData and you'll be radirected on page that doesn't seem to be
> relevant. I'd be actually quite happy if I could see how does setData work
> for binary data.

I'm sorry you accidentally landed on that spec; it's an old and
desperately obsolete document that is, unfortunately, not marked as
such.

You should be reading the latest version of that document, at
<https://html.spec.whatwg.org/#dnd>.

~TJ"--=_653a27b264f5429903d0d8b9ee7b47-8129-540e-925c-0cee4b5139dc_Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body>Hello.<br>Thank you for your help. However the new spec you linked me to does not contain anything I didn't know regarding my problem:<br>I'd quote the <a target="_blank" href="https://html.spec.whatwg.org/#dom-datatransfer-setdata">explanation of <font face="courier new">.setData</font></a><br><font color="#aaaaaa"><br><font face="georgia" color="#444444">&nbsp;&nbsp;&nbsp; and whose data is the <i>string</i>
given by the method's second argument.</font></font><br><br>As soon as I want to insert binary data (as <font face="courier new">image/png<font face="arial">)
 I don't know what kind of string should be passed. Base64? Binary 
string (bytes in string)? DataURI? The same question troubled me even 
before (I already found <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer#setData.28.29">same information on MDN)</a>.<br><br>Further more, there's no<i> </i><u>information about <font face="courier new">copy</font>/<font face="courier new">cut</font> event handlers</u>.
 Since everything I tried failed, I need to have a strong evidence that 
I'm doing everything right before I post on individual browser's forums 
asking for implementation status and any kind of help.<br><br>If my requirement is still unclear please try to read this question on StackOverflow: <a target="_blank" href="http://stackoverflow.com/q/27206268/607407">http://stackoverflow.com/q/27206268/607407</a>. It basically describes the problem.<br><br>Thank you very much for your time and help,<br>Jakub Mareda<br><br></font></font><p>---------- Původní zpráva ----------<br>Od: Tab Atkins Jr. &lt;jackalmage@gmail.com&gt;<br>Komu: Jakub Mareda &lt;JMareda@seznam.cz&gt;<br>Datum: 1. 12. 2014 22:41:19<br>Předmět: Re: Broken links</p><br><blockquote>On Sun, Nov 30, 2014 at 4:28 AM, Jakub Mareda &lt;JMareda@seznam.cz&gt; wrote:<br>&gt; Hello,<br>&gt; I'm investigating how to actually allow user to copy image data from web<br>&gt; application. I have encountered broken links in the specification:<br>&gt;<br>&gt; http://dev.w3.org/2006/webapi/clipops/clipops.html#h2_apis-from-other-specifications<br>&gt;<br>&gt; Click setData and you'll be radirected on page that doesn't seem to be<br>&gt; relevant. I'd be actually quite happy if I could see how does setData work<br>&gt; for binary data.<br><br>I'm sorry you accidentally landed on that spec; it's an old and<br>desperately obsolete document that is, unfortunately, not marked as<br>such.<br><br>You should be reading the latest version of that document, at<br>&lt;https://html.spec.whatwg.org/#dnd&gt;.<br><br>~TJ</blockquote></body></html>--=_653a27b264f5429903d0d8b9ee7b47-8129-540e-925c-0cee4b5139dc_=--

Received on Tuesday, 2 December 2014 00:52:56 UTC