- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Fri, 13 May 2011 17:22:24 +0300
- To: Giuseppe Pascale <giuseppep@opera.com>
- CC: "www-dom@w3.org" <www-dom@w3.org>
On 05/13/2011 05:20 PM, Olli Pettay wrote: > On 05/13/2011 05:12 PM, Giuseppe Pascale wrote: >> On Thu, 12 May 2011 17:00:11 +0200, Olli Pettay >> <Olli.Pettay@helsinki.fi> wrote: >>> >>> I tried to come one with a testcase which might dispatch key events to >>> document, but so far no luck. >>> If all the elements are removed from document, key events aren't >>> dispatched to document nor window, in gecko, webkit, opera - >>> at least not in my testcase. >>> >>> So, so far the spec looks ok. >>> >> >> I've been thinking about this a bit but I'm still not sure if the spec >> was correct [1]. >> What you say is correct, so my confusion is only "linguistic". What does >> "Target" mean in that table? >> >> If it means the "proximal event target" [2] > It means this, and it even says so > "Trusted proximal event target types" Ah, it doesn't say that in the box explaining event type, but it does say that in http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-types-list Anyhow, target is quite clear to me. > > > -Olli > > > (i.e. the value of >> event.target) then I agree with you that the spec was correct. >> But if it just mean "event target" [3] as in you can register a listener >> for this event on the object X, than I think the spec was wrong. >> >> >> >> >> [1] note that meanwhile the editor added Document to the event target. >> [2] >> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#glossary-proximal-event-target >> >> >> [3] >> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#glossary-event-target >> >> >
Received on Friday, 13 May 2011 14:23:11 UTC