W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: clipboard events

From: Paul Libbrecht <paul@activemath.org>
Date: Mon, 31 Jan 2011 18:27:39 +0100
Cc: Daniel Cheng <dcheng@chromium.org>, "Hallvord R. M. Steen" <hallvord@opera.com>, public-webapps@w3.org
Message-Id: <7B76412C-A553-410F-9DCA-CE17F9FC3C6E@activemath.org>
To: Ryosuke Niwa <rniwa@webkit.org>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT