-
Notifications
You must be signed in to change notification settings - Fork 642
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
[scroll-animations-1] Support for multiple scroll offsets #4912 #5803
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the tardy response. Overall looks good. Deferring to Rob and Anders for approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
( One month later...: )
scroll-animations-1/Overview.bs
Outdated
<pre class='descdef'> | ||
Name: start | ||
Name: scrollOffsets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just be offsets
in my opinion, and in any case definitely not camelCase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about scroll-offsets
to match Javascript definition of ScrollTimeline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems somewhat unnecessary to have the scroll-
prefix when we're already inside @scroll-timline
. IIRC we had scroll-time-range
etc before, but the prefix was dropped.
But, if there are reasons for keeping the scroll-
prefix on scroll-offsets
specifically, then scroll-offsets
WFM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a concern that offset has a different meaning in animation context, to specify the position of each keyframe. We may in fact want to add offsets as well as scrolloffsets in the future so that you could map scroll offsets to arbitrary animation offsets rather than having them uniformly distributed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to scroll-offsets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, makes sense.
scroll-animations-1/Overview.bs
Outdated
1. Run the procedure to [=resolve a scroll timeline offset=] for 'auto' | ||
with the <var>is first</var> flag set to <var>first offset</var> and | ||
add the resulted value into <var>effective scroll offsets</var>. | ||
1. If {{ScrollTimeline/scrollOffsets}} has one element |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this say:
If {{ScrollTimeline/scrollOffsets}} has at least one element?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This describes how to handle single scroll offset - add 'auto' as a first element, the provided offset will be added as part of the next statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I did understand that at some point, then I confused myself.
Then probably this should say:
If {{ScrollTimeline/scrollOffsets}} has exactly one element
Just to make it clear that we're not intending the "at least" meaning. (Which would prepend 'auto' for any non-empty list I guess).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
[=resolve scroll timeline offsets=] for {{scrollOffsets}}. | ||
1. Let <var>offset id</var> correspond to the position of the last offset in | ||
<var>scroll offsets</var> whose value is less than or equal to | ||
<var>offset</var> and the value at the following position greater than |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that the specified scroll offsets have ordering constraints? If yes, what are they, and when/how are they enforced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no ordering constrains. Explanation why last interval is chosen is explained in the note below the section. I added another note explaining why matching interval will always be found.
Thanks @andruud for reviewing! I addressed your comments besides the one which refers to |
scroll-animations-1/Overview.bs
Outdated
@@ -294,8 +288,7 @@ if (window.matchMedia('(prefers-reduced-motion: no-preference)').matches) { | |||
var scrollTimeline = new ScrollTimeline({ | |||
source: scrollableElement, | |||
orientation: "vertical", | |||
scrollOffset: '0px', | |||
end: '200px' | |||
scrollOffsets: '0px', '200px' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be [CSS.px(0), CSS.px(200)] shouldn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
scroll-animations-1/Overview.bs
Outdated
<pre class='descdef'> | ||
Name: start | ||
Name: scrollOffsets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a concern that offset has a different meaning in animation context, to specify the position of each keyframe. We may in fact want to add offsets as well as scrolloffsets in the future so that you could map scroll offsets to arbitrary animation offsets rather than having them uniformly distributed.
scroll-animations-1/Overview.bs
Outdated
@@ -156,15 +156,13 @@ Using the CSS markup: | |||
@scroll-timeline collision-timeline { | |||
source: selector(#container); | |||
orientation: block; | |||
start: 200px; | |||
end: 300px; | |||
scrollOffsets: 200px, 300px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove double space before offset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
scroll-animations-1/Overview.bs
Outdated
calculation. | ||
|
||
Note: The rationale behind choosing last matching offset in the array is to | ||
be consistent with CSS property overrides. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should link to the rule for finding which KeyframeRule applies in a comma separated list of keyframes with overlap as justification: https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule-findrule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Thanks for reviewing! All your comments are addressed in the recent commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you've got review from @kevers-google, @andruud, and @flackr then I'm pretty sure you don't need mine! (I did skim it however, and it looked very thorough.)
Was there a Chromium bug filed for this? |
@foolip Yes, https://bugs.chromium.org/p/chromium/issues/detail?id=1094014 includes removal of start and end properties. |
Thanks @ogerchikov! I noticed the removal when updating IDL for https://mdn-bcd-collector.appspot.com/, and wasn't sure if I should add back some custom tests for this or not. I won't then, if it's not going to be left long in Chromium. |
Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8
Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469}
Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469}
Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469}
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: ea854b5dc8b4d98887c5b22aaee2336cc02a7668
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: ea854b5dc8b4d98887c5b22aaee2336cc02a7668
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: ea854b5dc8b4d98887c5b22aaee2336cc02a7668
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 9761161af35192bf75436da4a6a9959898d293dc
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 526bca8065caa2644809862cdaedf2b34702e9d6
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 9761161af35192bf75436da4a6a9959898d293dc
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 526bca8065caa2644809862cdaedf2b34702e9d6
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 9761161af35192bf75436da4a6a9959898d293dc
…th scrollOffsets attribute, a=testonly Automatic update from web-platform-tests Replaced start and end scroll offsets with scrollOffsets attribute Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <keverschromium.org> Commit-Queue: Olga Gerchikov <gerchikomicrosoft.com> Cr-Commit-Position: refs/heads/master{#855469} -- wpt-commits: 69bf427d7d2ae83f7c60ef6751ddf0e26d2892fa wpt-pr: 27665 UltraBlame original commit: 526bca8065caa2644809862cdaedf2b34702e9d6
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801290 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#874955}
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801290 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#874955}
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801290 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#874955}
…erties of ScrollTimeline, a=testonly Automatic update from web-platform-tests Removed scroll start and end offset properties of ScrollTimeline Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801290 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#874955} -- wpt-commits: 44d0f24ba4dc413c7142bdb7d1daf9186bbd680d wpt-pr: 28358
Based on pr[1] replaced all usages of startScrollOffset and endScrollOffset with scrollOffsets attribute. Among the changes; -Moved content of constructor.tentative.html to constructor.html. -Deleted constructor.tentative.html [1] w3c/csswg-drafts#5803 Bug: 1094014 Change-Id: I3d609555bdd7c65b2b9561a88d4c130a5566a9a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2701333 Reviewed-by: Kevin Ellis <kevers@chromium.org> Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Cr-Commit-Position: refs/heads/master@{#855469} GitOrigin-RevId: 60f1bc9ae64a4412def6fdc67ac41b95ab5739aa
Made modifications spec'ed in w3c/csswg-drafts#5803: - Removed startOffset and endOffset attributes. - Updated procedures based on spec changes, including allowing single scroll offset of 'auto'. Bug: 1094014 Change-Id: Id08c9ce1818bd561ac291ca3e1f99c22dbb15674 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801290 Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com> Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#874955} GitOrigin-RevId: c9eb819fca15eca5ba6409ed4135247cbcce2bf5
Described specification for ScrollTimeline.scrollOffsets API.