Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logical dimension values for touch-action property, since logical is/has shipped #272

Open
jonjohnjohnson opened this issue Nov 28, 2018 · 6 comments · May be fixed by #496
Open

Add logical dimension values for touch-action property, since logical is/has shipped #272

jonjohnjohnson opened this issue Nov 28, 2018 · 6 comments · May be fixed by #496
Assignees
Labels

Comments

@jonjohnjohnson
Copy link

https://w3c.github.io/pointerevents/#the-touch-action-css-property
https://drafts.csswg.org/css-logical-1/
https://caniuse.com/#feat=pointer
https://caniuse.com/#feat=css-logical-props

With Webkit being the last major vendor to work on pointer events, initially deployed in STP Release 67, as well as Edge being the only vendor without impending support for logical properties and values, it seems the touch-action property needs to be updated to accept a set of logical values.

cc @mbrubeck @atanassov

@patrickhlauke
Copy link
Member

patrickhlauke commented Nov 28, 2018

i assume you mean logical values for pan-x/pan-y in this case, right?

@jonjohnjohnson
Copy link
Author

@patrickhlauke yep and any specifics of logical/physical language in the examples.

@NavidZ
Copy link
Member

NavidZ commented Nov 28, 2018

I guess this would also include pan-left/right/up/down in the extension doc.

@patrickhlauke
Copy link
Member

patrickhlauke commented Nov 28, 2018

I'll note that this is probably not so much about replacing those values, but complementing them with some form of logical axis/direction type values (that adapt to different writing systems etc). certainly pan-x/pan-y seem fine to me as they, in my mind at least, relate to the x/y coordinate system (which does not change for different writing systems) (as i see those being more low-level related to coordinates)

@jonjohnjohnson
Copy link
Author

jonjohnjohnson commented Nov 28, 2018

@patrickhlauke of course I hope it's only adding values, not replacing. No physical property/value has been replaced, only added afaik.

Even if someone does want to use scrolling/panning/interactions in the physical mapping, that's fine, but we also have a bunch of new ways to provide scrolling/panning/interactions that are related to a logical mapping. Think overflow-inline: scroll, scroll-snap-type: block, even if simply block/inline.

@patrickhlauke
Copy link
Member

roughed out a potential addition here #496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants