W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2010

Re: [whatwg] focus change inside keypress event handler

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Tue, 09 Mar 2010 21:31:10 -0500
To: "Doug Schepers" <schepers@w3.org>
Cc: "Ian Hickson" <ian@hixie.ch>, whatwg <whatwg@whatwg.org>, www-dom@w3.org
Message-ID: <op.u9byl7tk1ejg13@sandra-svwliu01>
On Tue, 09 Mar 2010 14:21:30 -0500, Doug Schepers <schepers@w3.org> wrote:

> Hi, Michael-
>
> Michael A. Puls II wrote (on 3/8/10 9:41 PM):
>> On Mon, 08 Mar 2010 20:17:45 -0500, Ian Hickson <ian@hixie.ch> wrote:
>>
>>> On Tue, 27 Oct 2009, Michael A. Puls II wrote:
>>>>
>>>> With:
>>>>
>>>> <p><input onkeypress="this.nextSibling.focus()"><input></p>
>>>> , if you type a character in the first field, should the character be
>>>> entered
>>>> in the second field or the first?
>>>
>>> The thread that started with the above question seemed to conclude that
>>> the DOM3 Events spec requires that the focus change not affect which
>>> element receives the event, which is also my understanding of the
>>> situation. The thread did not seem to suggest any further changes were
>>> needed, so I haven't changed anything in HTML5. Please let me know if
>>> there is something in HTML5 that needs changing for this.
>>
>> Still waiting for Doug and others to comment on my findings in this
>> thread. But, yes, nothing to change in the spec so far.
>
> We will be updating the spec with more extensive treatment of focus, in  
> early-mid April.  (I've busy with trael and another project until then).  
>   I'll be reviewing everything written on this topic on www-dom.  Is  
> there also stuff written on the WHATWG mailing list that I should be  
> aware of, and if so, could you please provide some pointers?

Thanks. No hurry.

As Ian said, everything that I posted on whatwg was posted here too, I  
can't think of anything else atm.

-- 
Michael
Received on Wednesday, 10 March 2010 02:31:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT