[Webkit-unassigned] [Bug 31960] New: SVG: DOM animation of <svg> elements fails to redraw properly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 29 03:42:26 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31960
Summary: SVG: DOM animation of <svg> elements fails to redraw
properly
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rich at indieimage.com
Created an attachment (id=43990)
--> (https://bugs.webkit.org/attachment.cgi?id=43990)
Test case
Animating an <svg> element via the DOM leaves ugly tearing artifacts on the
screen that remain until a redraw is forced (i.e. by resizing the window).
The included SVG file causes a blue rectangle to move continuously (and
randomly) around the screen, leaving plenty of tearing artifacts. The blue
rectangle is represented by an <svg> object containing a <rect>:
<svg id="card" width="100" height="140" x="50" y="100">
<rect class="card-back" width="100" height="140" rx="10" ry="10"
fill="blue" stroke="black" stroke-width="2" />
</svg>
if the animation were applied directo to the <rect> element, no tearing occurs.
The tearing only happens when the target of the animation is the <svg> element.
If the <svg id="card"> element is placed inside a <g> element (strangely
enough), this bug disappears.
(Tested on Mac OS X 10.5 and both Safari 4.0.4 and nightly r51397, the latest
version as of 11/29/2009.)
--
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