- From: patrick kettner via GitHub <sysbot+gh@w3.org>
- Date: Tue, 09 May 2017 18:05:34 +0000
- To: public-pointer-events@w3.org
I love the concept of allowing for different `touch-action` like behaviors for each type of pointer, but am opposed to having new `*-action` values because of the unbounded nature of future pointer types.
This feels like the exact sort of reason `@media` blocks were invented. What about
```css
@media(pointer-type: touch) {
#carousel {
pointer-action: pan-y
}
}
@media(pointer-type: pen) {
#carousel {
pointer-action: none
}
}
```
--
GitHub Notification of comment by patrickkettner
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/203#issuecomment-300252596 using your GitHub account
Received on Tuesday, 9 May 2017 18:05:41 UTC