[Webkit-unassigned] [Bug 63911] REGRESSION (r89774): svg/W3C-SVG-1.1/animate-elem-82-t.svg hits assertion failure.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 4 13:50:50 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63911
Dirk Schulze <krit at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #99648|review? |review-
Flag| |
--- Comment #3 from Dirk Schulze <krit at webkit.org> 2011-07-04 13:50:50 PST ---
(From update of attachment 99648)
View in context: https://bugs.webkit.org/attachment.cgi?id=99648&action=review
This is a regression, so we need a regression test. Can you add a test to svg/animation please? I also have a question to your fix. r- because of the missing test.
> Source/WebCore/svg/SVGAnimationElement.cpp:494
> + if (percent == 1) {
> + from = m_values[valuesCount - 1];
> + to = m_values[valuesCount - 1];
> + effectivePercent = 1;
> + return;
> + }
I just wonder. Here we return always effectivePercent = 1 if percent is 1,...
> Source/WebCore/svg/SVGAnimationElement.cpp:520
> if (calcMode == CalcModeDiscrete) {
> if (!keyTimesCount)
> - index = percent == 1 ? valuesCount - 1 : static_cast<unsigned>(percent * valuesCount);
> + index = static_cast<unsigned>(percent * valuesCount);
> from = m_values[index];
> to = m_values[index];
> effectivePercent = 0;
here we return effectivePercent = 0 for discrete animations. Sure that this doesn't cause new problems?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list