Auto merge of #18069 - hiikezoe:scroll-snap, r=daisuke

Make scroll-snap-{coordinate, destination} discrete animation.

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1387941

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18069)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-14 05:33:45 -05:00 committed by GitHub
commit 421a553799

View file

@ -721,7 +721,7 @@ ${helpers.predefined_type("scroll-snap-destination",
products="gecko", products="gecko",
boxed="True", boxed="True",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)",
animation_value_type="ComputedValue")} animation_value_type="discrete")}
${helpers.predefined_type( ${helpers.predefined_type(
"scroll-snap-coordinate", "scroll-snap-coordinate",
@ -730,7 +730,7 @@ ${helpers.predefined_type(
vector=True, vector=True,
products="gecko", products="gecko",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)",
animation_value_type="ComputedValue", animation_value_type="discrete",
allow_empty="NotInitial" allow_empty="NotInitial"
)} )}