Re: clipboard events

Le 31 janv. 2011 à 18:09, Ryosuke Niwa a écrit :
>> A website maker for, say, a shop for furnitures that knows they can go into "my home plan maker" through the clipboard will want to be able to produce and export a clipboard flavor that is unknown to both browser implementors and spec makers now.
>> Provided the user may say that the format is "safe" (safe as a picture for example), he would be able to drag-and-drop the furniture and get a 3D view inside "my home plan maker". 
> How do we make sure it works across different platforms?

Not *we* the spec-chatters, nor the browser implementors.
The web-developers or some library for them should make it work across different platforms.

>  I don't think we should be encouraging authors to create website that only works with applications on a particular platform.

I disagree here: we have to accept that the clipboard data is reaching the end of the pure web hence we have to make the web-developers able to "speak the the language of the platform".

We sure should support standard formats when there are some but we should allow non-standardized formats to emerge.

> This is the problem.  If the format is platform-specific, we'll be exposing platform-dependent API to the Web.  If we are to allow arbitrary data types, then I would really like to provide an abstraction around it so that the Web authors don't have to detect platform and do different things for each platform.  And if that's unpractical or impossible, then we shouldn't allow arbitrary data types.

I am convinced it is unpractical at this stage.
I am trying to encourage media-types writers to include statements about the clipboard names of their media-types. This could maybe be used one day but thus far there's very little (MathML and SVG only I think).

paul

Received on Monday, 31 January 2011 17:28:15 UTC