Skip to content

Make iterate_by() increment the iteration state for infinite animations - #401

Merged
Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:increment-infinite-animations
Jun 26, 2026
Merged

Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:increment-infinite-animations

Conversation

@Loirooriol

@Loirooriol Loirooriol commented Jun 25, 2026 •

Copy link
Copy Markdown
Collaborator

It was only incremented for finite animations, but infinite animations need to be incremented too.

Servo PR: servo/servo#45990

@yezhizhen yezhizhen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. But would need refactor after #400.

It was only incremented for finite animations, but infinite animations
need to be incremented too.

Signed-off-by: Oriol Brufau <[email protected]>
@Loirooriol
Loirooriol force-pushed the increment-infinite-animations branch from 6d4725c to 05d667e Compare June 26, 2026 08:17
@Loirooriol

Copy link
Copy Markdown
Collaborator Author

But would need refactor after #400

Yes, just a matter of adding n instead of 1.

@Loirooriol
Loirooriol enabled auto-merge June 26, 2026 08:19
@Loirooriol
Loirooriol added this pull request to the merge queue Jun 26, 2026
Merged via the queue into servo:main with commit 49c0bc3 Jun 26, 2026
5 checks passed
@Loirooriol
Loirooriol deleted the increment-infinite-animations branch June 26, 2026 08:29
Loirooriol added a commit to Loirooriol/servo that referenced this pull request Jun 26, 2026
servo-wpt-sync pushed a commit to servo/wpt that referenced this pull request Jun 26, 2026
Loirooriol added a commit to Loirooriol/servo that referenced this pull request Jun 26, 2026
servo-wpt-sync pushed a commit to servo/wpt that referenced this pull request Jun 26, 2026
@Loirooriol Loirooriol changed the title Make iterate() increment the iteration state for infinite animations Make iterate_by() increment the iteration state for infinite animations Jun 26, 2026
Loirooriol added a commit to Loirooriol/servo that referenced this pull request Jun 26, 2026
servo-wpt-sync pushed a commit to servo/wpt that referenced this pull request Jun 26, 2026
Loirooriol added a commit to servo/wpt that referenced this pull request Jun 26, 2026
servo-wpt-sync pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 26, 2026
simonwuelker pushed a commit to simonwuelker/servo that referenced this pull request Jun 26, 2026
… animations (servo#45990)

Bumps Stylo to servo/stylo#401

Testing: Adding a new test for this which passes, and another one for
servo#45992 which fails.
Fixes: servo#45989

Signed-off-by: Oriol Brufau <[email protected]>
Loirooriol added a commit that referenced this pull request Jul 1, 2026
#401)

It was only incremented for finite animations, but infinite animations
need to be incremented too.

Servo PR: servo/servo#45990

Signed-off-by: Oriol Brufau <[email protected]>
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 7, 2026
…nfinite animations. r=firefox-style-system-reviewers,emilio

It was only incremented for finite animations, but infinite animations
need to be incremented too.

Imports servo/stylo#401

Differential Revision: https://phabricator.services.mozilla.com/D310920
github-actions Bot pushed a commit to longvatrong111/stylo that referenced this pull request Jul 8, 2026
…nfinite animations. r=firefox-style-system-reviewers,emilio

It was only incremented for finite animations, but infinite animations
need to be incremented too.

Imports servo#401

Differential Revision: https://phabricator.services.mozilla.com/D310920
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 10, 2026
… iteration state for infinite animations, a=testonly

Automatic update from web-platform-tests
stylo: Make `iterate()` increment the iteration state for infinite animations

Bumps Stylo to servo/stylo#401

Signed-off-by: Oriol Brufau <[email protected]>

--

wpt-commits: fa82d23cd285f023511afe7ea8717f4367ef81fd
wpt-pr: 60915
zerox80 pushed a commit to zerox80/firefox that referenced this pull request Oct 16, 2026
…nfinite animations. r=firefox-style-system-reviewers,emilio

It was only incremented for finite animations, but infinite animations
need to be incremented too.

Imports servo/stylo#401

Differential Revision: https://phabricator.services.mozilla.com/D310920
zerox80 pushed a commit to zerox80/firefox that referenced this pull request Oct 16, 2026
… iteration state for infinite animations, a=testonly

Automatic update from web-platform-tests
stylo: Make `iterate()` increment the iteration state for infinite animations

Bumps Stylo to servo/stylo#401

Signed-off-by: Oriol Brufau <[email protected]>

--

wpt-commits: fa82d23cd285f023511afe7ea8717f4367ef81fd
wpt-pr: 60915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants