SMIL: Animating away from "display:none" doesn't update <use>-cloned elements

NEW
Unassigned

Status

()

9 years ago
4 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Reporter)

Description

9 years ago
Created attachment 420139 [details]
testcase 1

STEPS TO REPRODUCE:
 Load testcase

EXPECTED RESULTS:
 There should be two blinking rects.

ACTUAL RESULTS:
 The orange rect (a <use> clone of the other one) disappears, and then never blinks back.
(Reporter)

Comment 1

9 years ago
Created attachment 420140 [details]
reference case 1 (using javascript)

Here's a reference case.  It simulates animation by tweaking the 'style' attribute with javascript.  This version shows expected results. (no bug)
(Reporter)

Comment 2

9 years ago
Created attachment 420141 [details]
testcase 2

Here's a simpler testcase -- here, the rect has style="display: none", and there's an animation that immediately takes effect to counteract that.  However, the lower rect (the cloned one) is still missing.
(Reporter)

Updated

9 years ago
Attachment #420140 - Attachment description: reference case 1 → reference case 1 (using javascript)
(Reporter)

Comment 3

9 years ago
Created attachment 420142 [details]
reference case 2 (using 'visiblity' instead of 'display')

Here's a reference case for testcase 2.  The only difference vs the testcase is that I use 'visibility' instead of 'display', and that fixes the bug.
Duplicate of this bug: 729874
You need to log in before you can comment on or make changes to this bug.