W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: CfC: new WD of Clipboard API and Events; deadline April 5

From: Charles McCathieNevile <chaals@opera.com>
Date: Sun, 10 Apr 2011 20:30:54 +0200
To: public-webapps <public-webapps@w3.org>, timeless <timeless@gmail.com>
Message-ID: <op.vtqi1sa9wxe0ny@widsith.local>
comments on a couple of timeless' comments.

On Sun, 10 Apr 2011 18:20:35 +0200, timeless <timeless@gmail.com> wrote:

> On Tue, Mar 29, 2011 at 2:37 PM, Arthur Barstow <art.barstow@nokia.com>  
> wrote:
>>  http://dev.w3.org/2006/webapi/clipops/clipops.html
>>
>> If you have any comments or concerns about this proposal, please send  
>> them
>> to public-webapps by April 5 at the latest.
>
> Sorry, i've been doing other stuff....
>
> [editorial]
>
>> Mathematical information
>> With content such as mathematics, simply copying rendered text and  
>> pasting it into another application generally leads to most of the  
>> semantics being lost.
>
> I think "math" is more appropriate here.

Disagree. In explanatory text the more correct term is clearer. "math" is  
only american in usage, and avoiding the feeling that it is a typo would  
reduce congitive dissonance without being incorrect.

>> Calling clearData() empties the system clipboard, or removes the  
>> specified type of data from the clipboard. See HTML5 for details  
>> [HTML5].
>
> This has issues. If the user has inserted something the user cares
> about into the system clipboard, then allowing a web page to stomp on
> it is annoying.  Something needs to protect the user from such web
> apps.

Yes - should that comment be on HTML5 though, or alternatively is there a  
reason not to copy it?

>> The user might paste hidden data which the user is not aware of.
>
> ".. not aware of" is kinda messy. Also, perhaps "hidden data" already
> indicates the user doesn't know about it?

"not realising it is there"?

>> Remove all of the following elements: SCRIPT, APPLET, OBJECT, FORM,  
>> INPUT, BUTTON, TEXTAREA, SELECT, OPTION, OPTGROUP and comment nodes.  
>> For all mentioned elements except FORM, also remove all child nodes.
>
> I can imagine doing magical things with a <style> tag...
>
> However, removing the active value from a select seems suboptimal.
>
> If you see:
>
> State: [ .... |v]
>
> And use it to get:
>
> State: [ Washington |v]
>
> When you copy it, do you expect:
>
> "State: " or "State: Washington"? I expect the latter, it's
> considerably more useful.

Agree.

-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com
Received on Sunday, 10 April 2011 18:31:27 GMT

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