Re: [whatwg] Spellchecking mark III

2009-01-25 Thread Peter Kasting
On Sun, Jan 25, 2009 at 10:52 AM, Křištof Želechovski kri...@wp.pl wrote:

 Gmail can use
 1. the localisation preferences chosen by the user in GMail configuration,
 2. the localisation preferences chosen by the user in the browser
 configuration
 to determine the what language the user is likely to use in the subject
 field.
 (Generally, it should be the same language as the Subject label is in.)
 If the user incidentally sends a message in another language, the Web
 browser can recognize the language after the subject is typed, as described
 before.


But your original claim was that the web author, not the UA, should have the
ability to force a particular language for spellchecking -- and that the
spellcheck attribute was worthless outside this, as what authors needed
was a way to force the spellcheck _language_, not simply its presence.  Now
you seem to be reversing your comments and indicating that perhaps the UA
may end up knowing better what language to use (e.g. because the user types
in another language), which is what I was saying all along.  And none of
this gives any support for the idea that spellcheck as an attribute is not
useful for gmail!  Why should gmail have to try and guess what lanugage the
user will be typing emails in?  Isn't it instead desirable to tell the UA
if you can figure out the right language here, then go ahead and spellcheck
this field and leave everything else in the hands of the UA?

PK


[whatwg] DnD Jacking

2009-01-25 Thread Biju g...@il
At http://bijumaillist.googlepages.com/2in1.html
i have iframed http://bijumaillist.googlepages.com/dnd.html
and http://www.whatwg.org/demos/2008-sept/dnd/dnd.html

Now I can drag items between iframes.
This is good when we do mashups.

But I wonder whether this will create a similar vulnerability like
Click Jacking.
- ie, A cross site DnD Jacking

So how can I...
1. say to where all (domain) things can be dragged?
2. find from which domain things are dropped.
3. find the handle of source window at destination and vice versa.
4. while we in ondragenter/ondragover phase find what will be dropped later.

Thanks
Biju