Skip to content

Relax assert for paused animations to include equality - #404

Merged
Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:fix-paused-animation-assert
Jun 28, 2026
Merged

Relax assert for paused animations to include equality#404
Loirooriol merged 1 commit into
servo:mainfrom
Loirooriol:fix-paused-animation-assert

Conversation

@Loirooriol

@Loirooriol Loirooriol commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

It's fine to subtract n when the value is n, we just don't want to get negative.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
@Loirooriol
Loirooriol added this pull request to the merge queue Jun 28, 2026
Loirooriol added a commit to Loirooriol/servo that referenced this pull request Jun 28, 2026
Bumps Stylo to servo/stylo#404

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Merged via the queue into servo:main with commit 6b4eb30 Jun 28, 2026
5 checks passed
@Loirooriol
Loirooriol deleted the fix-paused-animation-assert branch June 28, 2026 14:02
servo-wpt-sync pushed a commit to servo/wpt that referenced this pull request Jun 28, 2026
Bumps Stylo to servo/stylo#404

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
servo-wpt-sync pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 28, 2026
Bumps Stylo to servo/stylo#404

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
pull Bot pushed a commit to Patreos998/servo that referenced this pull request Jun 28, 2026
…46058)

Bumps Stylo to servo/stylo#404

Testing: Adds a test that works both as a crashtest for the old
`*progress > n` assertion in Stylo, and also as test coverage for the
following `*progress -= n`, since attempting to remove that didn't fail
any existing test.

Fixes: servo#45950

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Loirooriol added a commit that referenced this pull request Jul 1, 2026
It's fine to subtract `n` when the value is `n`, we just don't want to
get negative.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 7, 2026
… r=firefox-style-system-reviewers,emilio

It's fine to subtract `n` when the value is `n`, we just don't want to
get negative.

Imports servo/stylo#404

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

It's fine to subtract `n` when the value is `n`, we just don't want to
get negative.

Imports servo#404

Differential Revision: https://phabricator.services.mozilla.com/D310921
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jul 10, 2026
…s to include equality, a=testonly

Automatic update from web-platform-tests
stylo: Relax assert for paused animations to include equality

Bumps Stylo to servo/stylo#404

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

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

Labels

None yet

2 participants