ScrollTimeline: make endScrollOffset inclusive only when max-scroll-position

Before this CL, we always treated endScrollOffset as inclusive, against
the spec. The spec was recently updated to treat endScrollOffset as
inclusive but only when it is equal to max-offset:

Bug: 934989
Change-Id: I7cd9cf4619e804a54cef33ef8d3ec7395166bace
Commit-Queue: Stephen McGruer <>
Reviewed-by: Majid Valipour <>
Cr-Commit-Position: refs/heads/master@{#636673}
5 files changed