W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: clipboard events

From: Paul Libbrecht <paul@activemath.org>
Date: Sun, 26 Dec 2010 22:52:27 +0100
Cc: public-webapps@w3.org
Message-Id: <D629BE01-2BA0-4115-B7A2-A3301FF19CD3@activemath.org>
To: Hallvord R. M. Steen <hallvord@opera.com>
This would be really nice.
After a very quick read-through, here are three first reactions:

- this seems to support the insertion in the clipboard's data of other types than what is currently commonly supported by browsers and the minimum quoted there; this is good and important. I think, for example, that such data as the iCal format would fit very well and be very useful here. Probably RDF/XML and PDF would be safe as well. I don't know how a format could enter the arena of "safe" (or "sanitized") formats... maybe that should be included in media-types registration...

- there is a sanitization process for HTML whose basis is described. Verrrry useful. I can't unfortunately answer if it prevents against attacks, it seems so. Allow me to request, however, that you include consideration for all children of HTML5, i.e. also MathML and SVG within the process.

- the sanitization process seems to forget the embedded images that need to be... "embedded" within the clipboard (as data: attribute-values maybe?). This is the biggest risk of transferring any HTML or XML based formats, to my taste, after the script elements, and it includes also the "call" to any "related material" (DTDs, imported OWL ontologies, CSS stylesheets, ...).

Le 23 déc. 2010 à 16:35, Hallvord R. M. Steen a écrit :
> looking at what Opera needs to support I drafted a specish text for clipboard events. Something for this WG?
> -- 
> Hallvord R. M. Steen, Core Tester, Opera Software
> http://www.opera.com http://my.opera.com/hallvors/<cbapispec.html>

Could I also request that Opera considers the chapter 6 of MathML which specifies a pure-markup-based method to indicate alternate clipboard formats?

thanks in advance

Received on Sunday, 26 December 2010 21:53:04 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:28 UTC