Closed Bug 1547371 Opened 5 years ago Closed 5 years ago

can't change svg text opacity after timeout

Categories

(Core :: SVG, defect)

66 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

Details

(Keywords: regressionwindow-wanted)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

I loaded this:

<html>
<body>
<svg>
<text id="text" dy="20">
This text should disappear after half a second.
</text>
</svg>
<script>
setTimeout(function() {
document.getElementById('text').style = 'opacity: 0';
}, 500);
</script>
</body>
</html>

Actual results:

I still saw "This text should disappear..." after half a second.

Expected results:

The text should have disappeared after half a second, as it does on both Chrome and Safari. This used to work in Firefox and regressed some time in the past year, though I'm not sure in which exact version.

Component: Untriaged → SVG
Product: Firefox → Core
Attachment #9061106 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → NEW
Ever confirmed: true

I can reproduce the issue on Firefox66.0.3 Windows10.
However, I cannot reproduce on Beta67.0b13 and Nightly68.0a1 Windows10.

Fixed range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=becf3a27c2bb39c1250a8d51c4875edeacf46025&tochange=dc8c94d906a60c6bd5b76d729ac0ccf2006a1a9a

Fixed by Bug 1535040

Jared Smith-Mickelson,
It seems have already been fixed this issue in 67beta.
Can you please test with [1]beta67b13?

[1]https://www.mozilla.org/en-US/firefox/channel/desktop/

Depends on: 1535040
Flags: needinfo?(bugzilla.mozilla.org)

It works for me on 67.0b14. Thanks for such a quick response!

Flags: needinfo?(bugzilla.mozilla.org)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: