- From: Jacob Rossi <Jacob.Rossi@microsoft.com>
- Date: Tue, 2 Oct 2012 01:00:35 +0000
- To: Brandon Wallace <brandon.wallace@yahoo.com>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "www-style@w3.org" <www-style@w3.org>, "tantek@cs.stanford.edu" <tantek@cs.stanford.edu>, Sylvain Galineau <sylvaing@microsoft.com>
> I don't know if this is the correct forum for this, but will PointerEvents influence the state of the pseudo css classes? Will it be limited to just the primary pointer? Or, for example, could the user hold 2 fingers down on 2 different elements to trigger both of their :hover styles? > > Brandon I think www-style will want to chime in on this. :hover/:active have generally been specified to be device independent. Though I don't know that we've had a definitive conversation on how they apply with multi-point/touch devices. This would probably be good to clarified in CSS4 UI. In IE10, we apply :hover and :active for each individual pointer (e.g. even multi-touch). When a pointer is captured to an element (e.g. setPointerCapture()), it will not cause :hover on other elements. That behavior is caveated that, with touch in IE10, 2-fingers causes zoom. So you'll have to disable that touch behavior (touch-action: none;) in order to actually see multiple :hover/:active in action. -Jacob
Received on Tuesday, 2 October 2012 01:01:07 UTC