W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: passive Copy-and-Paste with scripts

From: Paul Libbrecht <paul@activemath.org>
Date: Mon, 10 Apr 2006 16:46:57 +0200
Message-ID: <443A6FE1.4080904@activemath.org>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Web APIs WG <public-webapi@w3.org>

Jonas Sicking wrote:
>>    http://www.activemath.org/~paul/tmp/Ideal-Browser-Behaviour.html
> I am still slightly worried about pages denying access to copy data, 
> but I think it would be worth giving it a shot. Browsers could always 
> require a higher level of security in case it turns out that pages 
> abuse it too much.
> However, I would like to see it defined in terms of an event rather 
> then attributes. 
Good idea, although I fear I may be half-skilled with the appropriate 
language for it.
In any case, do you have other pointers to the matter outside of ?
Are there some current convention in the webAPI documents for events ?
> Also, it is not clear to me that onselected or oncut is needed.
I think oncut is absolutely needed if implementing something like a 
visual editor... and it matches the standard gestures.

onselected is fragile... at least... it was just invented.
But I know it matches what I see the two use-cases would need to be 
- for the formula case, the selection should, ideally, only be made to 
whole terms... so that the handler or event could trigger an enlargement 
to a span representing the term at least if crossing the term
- for the travel-schedule case, I would at least see value of such 
enlargement in case more than one cell of the schedule is selected.

Received on Monday, 10 April 2006 14:47:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC