On Sat, 14 Oct 2006 01:16:02 +0200, Tim Berners-Lee <[EMAIL PROTECTED]> wrote:
There is a lot of architecture in the clipboard.
Yes
I think it is important that the WebAPI clipboard is very web
architecture compatible.
Yes, but as Paul said, our initial goal is to makle something that
reflects what people can actually use. If we succeed in that, (and our
other large task list) then it would be worthwhile looking at something
smarter for the future.
Desktop clipboards, like HTTP, have concepts of type negotiation.
Yup, but they are pretty minimal as far as I can tell.
It would logical to make the clipboard type in WebAPI carry content-type
[and later negotiate it].
Indeed. But not for a first version, if we ever want to get something
through CR that is useful to people designing for the real Web.
cheers, and thanks for your comments
Chaals
Tim
Setting and getting the data to be transferred
Internet Explorer provides 3 methods for the clipboardData and
dataTransfer objects:
setData()
This takes one or two parameters. The first must be set to either
'text' or 'URL' (case-insensitive).
getData()
This takes one parameter, that allows the target to request a specific
type of data.
clearData()
This clears the data from the object.
--
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
[EMAIL PROTECTED] Try Opera 9 now! http://opera.com