SVG Filter dirty rect wrong on animation

RESOLVED WORKSFORME

Status

()

Core
SVG
RESOLVED WORKSFORME
5 years ago
4 years ago

People

(Reporter: Dirk Schulze, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 787999 [details]
SVG-animation.svg

The attached test animates the CSS filter property. For the first half it should be url(#a) (feFlood=red), the second half it should be url(#b) (feFlood=green). The rectangle for the first part does not fill the 10% margin area around the element. The second does. Running the example in JSFiddle, it works correctly.

http://jsfiddle.net/jrR4t/
(In reply to Dirk Schulze from comment #0)
> The rectangle for the first part does not fill the 10%
> margin area around the element. The second does.

So you're saying for the first half of the animation, you see a rect that's partly red and partly blue?

(I don't see that - I see it entirely red, then entirely green, then entirely blue. The attachment and the jsfiddle render identically for me. I'm using yesterday's nightly build.)
Ah, sorry -- now I understand -- the red & green area are supposed to be larger than the blue area, but in the attachment, the red area is (incorrectly) the same size as the blue rect. And it works in the jsfiddle. I can confirm I'm seeing the same thing you're seeing.
OS: Mac OS X → All
Hardware: x86 → All
Is this a regression? It seems to work on FF 22.

Updated

5 years ago
Keywords: regressionwindow-wanted
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 ID:20130910160258 CSet: 7c3b0732e765: WFM

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 ID:20131015052812 CSet: f0c589ed7642: reproduced

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20131019004007 CSet: 08e1cf38074c: WFM

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20131019030204 CSet: e25e62d174ed: WFM
Seems to work now.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
Issue is resolved - clearing old keywords - qa-wanted clean-up
Keywords: regressionwindow-wanted
You need to log in before you can comment on or make changes to this bug.