W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2014

Re: non-normative examples for event sequences (and diagrams?)

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Mon, 24 Feb 2014 13:23:00 +0000
Message-ID: <530B47B4.40104@splintered.co.uk>
To: Rick Byers <rbyers@google.com>
CC: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
Went ahead and filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=24783

At this point, I opted just for a textual representation rather than 
some form of flow diagram.

On 17/02/2014 16:32, Rick Byers wrote:
> A couple issues with the specific examples:
>   - pointermove/mousemove is possible before click (and I expect some
 > UAs to do this more than IE does today), so we should probably add that

Added those as an extra optional step in the sequence.

>   - maybe adopt a regex-style syntax to indicate what events _may_ occur
> (enter/leave/over/out/capture), or may be repeated (move)?

 From testing, it seems to me that enter/leave/out/over/capture always 
fire (e.g. no difference wether element is focusable or not, whether 
it's first tap or a subsequent tap, etc). Or am I missing something? 
(feel free to comment directly on the bug)

I also left out the red herring of including focus, as that's probably a 
far bigger discussion (and would then need extra qualifiers like "if no 
other element was focused before / if the element is actually focusable 
/ etc" which would muddy the whole example again in counterproductive ways).

Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Monday, 24 February 2014 13:23:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:26 UTC