Re: clipboard events

2011-05-09 Thread Paul Libbrecht
Le 10 mai 2011 à 00:18, João Eiras a écrit : >> I would just model the 'copy' (and 'cut') events exactly as a 'dragstart' >> event, ideally so much so that you can literally use the same function for >> both. (Canceling 'cut' would prevent the default deletion of the >> selection, canceling 'copy

Re: SpellCheck API?

2011-05-09 Thread Aryeh Gregor
On Mon, May 9, 2011 at 3:49 PM, Boris Zbarsky wrote: > This does mean firing tens of thousands of events during load on some pages > (e.g. wikipedia article edit pages)  Maybe that's not a big deal. If that's too many events, couldn't the browser optimize by not spellchecking words until they

Re: clipboard events

2011-05-09 Thread João Eiras
I think you'd want to push the script-added data regardless of whether the event is canceled or not. Why would the script add the data otherwise? I would just model the 'copy' (and 'cut') events exactly as a 'dragstart' event, ideally so much so that you can literally use the same function for

Re: clipboard events

2011-05-09 Thread Ian Hickson
(Sorry for the long delay in responding to this.) On Wed, 26 Jan 2011, Hallvord R. M. Steen wrote: > On Fri, 24 Dec 2010 07:21:35 +0900, Paul Libbrecht wrote: > > > - this seems to support the insertion in the clipboard's data of other > > types than what is currently commonly supported by bro

Re: [WebIDL][Selectors-API] Stringifying null for DOMString attributes and properties

2011-05-09 Thread Jonas Sicking
On Mon, May 9, 2011 at 9:22 AM, Lachlan Hunt wrote: > On 2011-05-07 16:03, Lachlan Hunt wrote: >> >> (I don't have results for IE yet because the testharness script I used >> to write the tests doesn't work in IE.) > > I've now tested IE9, which did give me results.  The following properties > are

Re: SpellCheck API?

2011-05-09 Thread Boris Zbarsky
On 5/9/11 3:39 PM, Aryeh Gregor wrote: * Every time the UA would normally invoke its spellchecker on a word, it fires a spellcheck event at the element in question This does mean firing tens of thousands of events during load on some pages (e.g. wikipedia article edit pages) Maybe that's

Re: SpellCheck API?

2011-05-09 Thread Aryeh Gregor
2011/5/9 Hironori Bono (坊野 博典) : > function CheckTextOfNode(node) { >   // Remove all the previous spellchecking results. >   window.spellCheckController.removeMarkers(node); > >   // Check the text in the specified node. >   var result = CheckText(node.innerText ? node.innerText : node.value); >  

Re: [IndexedDB] Closing on bug 9903 (collations)

2011-05-09 Thread Shawn Wilsher
On 5/6/2011 7:07 AM, timeless wrote: I think that a stored procedure could be considered as a compiled version of a serialized function. i.e. something which loses its scope chain, and which loses access to its parent object. If it loses access to its scope chain which includes the interesting gl

Re: [WebIDL][Selectors-API] Stringifying null for DOMString attributes and properties

2011-05-09 Thread Lachlan Hunt
On 2011-05-07 16:03, Lachlan Hunt wrote: (I don't have results for IE yet because the testharness script I used to write the tests doesn't work in IE.) I've now tested IE9, which did give me results. The following properties are all stringified to "". * BODY .text, .bgColor, .link, .vLink,

Re: SpellCheck API?

2011-05-09 Thread Oliver Hunt
> > This is the privacy violation, and not acceptable as such. > I wonder how to not expose native spellchecker data to web page, yet > support this use case. Or do we need yet another permission, which user > has to give to the page before the spellchecker API fully working. > In general permis

Re: SpellCheck API?

2011-05-09 Thread Olli Pettay
On 05/09/2011 11:58 AM, Hironori Bono (坊野 博典) wrote: Greetings, I'm Hironori Bono, a software engineer for Google Chrome. We recently received requests from web-application developers (and extension developers) that they would like to use the spellchecker Quite different targets. integrated i

SpellCheck API?

2011-05-09 Thread 坊野 博典
Greetings, I'm Hironori Bono, a software engineer for Google Chrome. We recently received requests from web-application developers (and extension developers) that they would like to use the spellchecker integrated into Google Chrome and to replace the spellchecker with their spellcheckers implemen