- From: patrick kettner via GitHub <sysbot+gh@w3.org>
- Date: Tue, 09 May 2017 23:34:50 +0000
- To: public-pointer-events@w3.org
> I thought about this, but we already have @media(pointer: coarse) which was made abstract on purpose its solving a completely different problem. you could very much want a different `*-action` of input on something like a trackpad than you would a mouse (e.g. locking panning or scrolling) and both would be `fine`. Not to mention the idea that other potential pointer types like dials don't fit into either `fine` or `coarse`. > media(pointer-type: touch) will destroy any purpose of @media(pointer: coarse). firmly disagree. even if it did, a more useful interface shouldn't be stopped because a lesser one already exists. > Also problem here is to ably 2 different pointer-actions (one per pen, other per touch) at the same time. thats not a problem? you can do that today ```css @media (min-width: 500px) { background: blue } @media (width: 500px) { background: red } ``` both will apply at 500px wide, and if they interfere with one another source order precedence exists. > Do you mean that media query will be automatically applied when one type of a pointer is used? yep, just like :hover and :selected pseudo selectors, they apply based on state of the element. > What about 2 at the same time? see above -- GitHub Notification of comment by patrickkettner Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/203#issuecomment-300331296 using your GitHub account
Received on Tuesday, 9 May 2017 23:34:56 UTC