- From: Giuseppe Pascale <giuseppep@opera.com>
- Date: Tue, 24 May 2011 14:40:37 +0200
- To: "Olli Pettay" <Olli.Pettay@helsinki.fi>, "Doug Schepers" <schepers@w3.org>
- Cc: "www-dom@w3.org" <www-dom@w3.org>
On Fri, 13 May 2011 16:22:24 +0200, Olli Pettay <Olli.Pettay@helsinki.fi> wrote: > 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. > So to close this discussion I would propose the following - we keep the spec as it was before, i.e. Target is only "Element" for keyup/down/press - we clarify that "Target" in the key/up/down tables (and actually in all tables) means "Trusted proximal event target types" (as done in [1]) Doug,Olli, does this sound fine? /g [1] http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-types-list > >> >> >> -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 >>> >>> >> -- Giuseppe Pascale TV & Connected Devices Opera Software - Sweden
Received on Tuesday, 24 May 2011 12:43:33 UTC