[csswg-drafts] [scroll-animations-1] ViewTimeline values of startOffset/endOffset in RTL writing mode (#7752)

ydaniv has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1] ViewTimeline values of startOffset/endOffset in RTL writing mode ==
Currently the spec says: 

> Note: The value of startOffset can be greater than endOffset, for example in the horizontal axis in a right-to-left (rtl) writing mode.

Which would render scroll-animations very awkward when actually having to deal with in RTL mode. Even more so if we're considering that the names of these properties are logical (start/end) and they should work the same for any writing mode.

The issue noted below in the spec says:

> This makes the offsets compatible with the way scrollLeft and scrollTop work, which go negative from zero in RTL scroll containers, is this how we want it to work here?

Which seems less relevant since `scrollTop/Left` are in fact non-logical APIs.

So, I'd expect the logical APIs, `startOffset` and `endOffset`, to behave the same depending on writing mode.

cc @fantasai @flackr 


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7752 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 September 2022 01:06:13 UTC