svg <set attributeName="class"> not ending without inspect element
Categories
(Core :: SVG, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox149 | --- | unaffected |
| firefox150 | --- | fixed |
| firefox151 | --- | fixed |
People
(Reporter: alanas.00, Assigned: longsonr)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files, 1 obsolete file)
Steps to reproduce:
- open https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/set with firefox nightly (https://ftp.mozilla.org/pub/firefox/nightly/2026/03/2026-03-27-09-23-54-mozilla-central/firefox-151.0a1.en-US.linux-x86_64.tar.xz)
- click black square
- wait 2 seconds
Actual results:
black square becomes green circle and stays green circle
Expected results:
black square becomes green circle for 2 seconds
| Assignee | ||
Comment 1•18 days ago
|
||
Would you be willing to use https://mozilla.github.io/mozregression/ to find a regression range? It's a pretty recent thing because it works in 149.
Comment 2•18 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
(In reply to Robert Longson [:longsonr] from comment #1)
Would you be willing to use https://mozilla.github.io/mozregression/ to find a regression range?
found by downloading and trying many nightly versions:
last good (black square becomes green circle for 2 seconds) nightly:
https://ftp.mozilla.org/pub/firefox/nightly/2026/03/2026-03-02-21-14-16-mozilla-central/firefox-150.0a1.en-US.linux-x86_64.tar.xz
first bad (black square becomes green circle and stays green circle) nightly:
https://ftp.mozilla.org/pub/firefox/nightly/2026/03/2026-03-03-09-56-35-mozilla-central/firefox-150.0a1.en-US.linux-x86_64.tar.xz
is https://mozilla.github.io/mozregression/ needed?
Comment 4•18 days ago
|
||
Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=507e7c73cc9bdd23ef5e7b69bebab29633b5d10b&tochange=8220ff0abb726c60b084a3b41d89660da46033c9
Comment 5•18 days ago
|
||
:emilio, since you are the author of the regressor, bug 2018671, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 6•18 days ago
|
||
Updated•18 days ago
|
Comment 7•18 days ago
|
||
Set release status flags based on info from the regressing bug 2018671
note: firefox 148 is not also perfect (other elements get stuck)
Comment 11•17 days ago
|
||
| bugherder | ||
Comment 12•16 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Fixes a recent regression when animating SVG elements.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: reinstates some recently removed code that was thought not to be needed. Turns out that assesment was optimistic.
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 13•16 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D290577
Comment 14•16 days ago
|
||
In the ClearAnimVal() codepath the snapshot is taken too late because
the GetAnimatedClassName() codepath checks IsAnimating(), which already
returns false.
Fix it by introducing WillAnimateClass(). Also, free the animated
classname when not animating anymore to avoid that check altogether.
Comment 15•16 days ago
|
||
Comment on attachment 9560323 [details]
Bug 2027052 - Fix style invalidation for SVG class attribute SMIL changes. r=longsonr
Revision D290748 was moved to bug 2027540. Setting attachment 9560323 [details] to obsolete.
Updated•14 days ago
|
Updated•14 days ago
|
Comment 17•14 days ago
|
||
| uplift | ||
Description
•