scroll-snap-align: start on RTL is wrong

RESOLVED FIXED in Firefox 68

Status

()

defect
P3
normal
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: hiro, Assigned: hiro)

Tracking

(Blocks 1 bug)

unspecified
mozilla68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox68 fixed)

Details

()

Attachments

(3 attachments)

An exapmle in a github isssue revealed that the snap positions for start is wrong on here and here. On RTL scroll container we need to invert the IStart() or BStart() value.

Othewise subsequent test cases would be affected by the change for
'vertical-rl'.

Depends on D28754

Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a5912039aa5
Rename `width` and `height` to `scroller_width` and `scroller_height`. r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/ad09822ed130
Restore the target left property when the test finishes. r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/96fc6f317e84
Adjust start position of the target element as scroll offset in the scroll element. r=jfkthame
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16579 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.