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

Re: clipboard events

From: Paul Libbrecht <paul@hoplahup.net>
Date: Thu, 23 Dec 2010 23:21:35 +0100
Cc: public-webapps@w3.org
Message-Id: <432C788D-D8B4-4313-A673-871FE177B963@hoplahup.net>
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 all children of HTML5, i.e. also MathML and SVG.

- 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, ...).


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

paul
Received on Sunday, 26 December 2010 23:01:02 GMT

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