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

Re: Add direction-specific pan values to touch-action?

From: Sangwhan Moon <sangwhan@iki.fi>
Date: Wed, 18 Mar 2015 15:32:49 +0900
Cc: Dave Methvin <dave.methvin@gmail.com>, public-pointer-events@w3.org
Message-Id: <EE18FE76-A6BE-41B6-BD88-B673DCE09CA9@iki.fi>
To: Rick Byers <rbyers@google.com>
The absolute panning direction does not reverse in RTL, so this shouldn't be a problem.

Logical "history traversal" directions are not flipped in RTL due to a legacy reason (Apparently VCRs didn't flip the order around so that stuck), so while everything else is flipped around the logical direction for "previous" is left, "next" is right for that reason.

Sangwhan

> On Mar 18, 2015, at 11:30 AM, Rick Byers <rbyers@google.com> wrote:
> 
> That's a good question.  I think what matters for touch-action is the co-ordinate space of the input events.  Since those don't invert in RTL then I think we'd really want true right/left here.  The logic for chaining correctly with a native scroller would probably be non-trivial, but I doubt we could reasonably simplify this (RTL is hard).
> 
> Would left and right be reversed if the page language is right-to-left? Or would the CSS potentially need to change based on the language? I'm not familiar with whether gestures like that are reversed in languages like Arabic, or perhaps the use cases don't require it.




Received on Wednesday, 18 March 2015 06:33:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 March 2015 06:33:17 UTC