Skip to content
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

animations: Don't apply animation delay to every iteration #26970

Merged
merged 1 commit into from Jun 18, 2020

Conversation

@mrobinson
Copy link
Member

mrobinson commented Jun 18, 2020

The delay should only be applied to the animation before the first
iteration.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes
The delay should only be applied to the animation before the first
iteration.
@highfive
Copy link

highfive commented Jun 18, 2020

Heads up! This PR modifies the following files:

  • @emilio: components/style/animation.rs
@mrobinson
Copy link
Member Author

mrobinson commented Jun 18, 2020

I've added a Servo-specific test to this change because delays are very difficult to test without our special animation ticking API. Most of the delay tests in WPT are manual for this reason.

@jdm
Copy link
Member

jdm commented Jun 18, 2020

@highfive highfive assigned jdm and unassigned asajeffrey Jun 18, 2020
@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

📌 Commit f921641 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

Testing commit f921641 with merge a1ca2b8...

bors-servo added a commit that referenced this pull request Jun 18, 2020
animations: Don't apply animation delay to every iteration

The delay should only be applied to the animation before the first
iteration.

---
<!-- 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
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jun 18, 2020

bors-servo added a commit that referenced this pull request Jun 18, 2020
animations: Don't apply animation delay to every iteration

The delay should only be applied to the animation before the first
iteration.

---
<!-- 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
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

Testing commit f921641 with merge b9b247b...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Jun 18, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

Testing commit f921641 with merge 60f4fed...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 18, 2020

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 60f4fed to master...

@bors-servo bors-servo merged commit 60f4fed into servo:master Jun 18, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@mrobinson mrobinson deleted the mrobinson:fix-animation-delay branch Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.