Closed Bug 897892 Opened 11 years ago Closed 11 years ago

Animated SVG aliasing

Categories

(Core :: SVG, defect)

22 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 873401

People

(Reporter: pom, Unassigned)

Details

Attachments

(1 file)

(deleted), image/svg+xml
Details
Attached image alias.svg (deleted) —
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release) Build ID: 20130618035212 Steps to reproduce: Animated SVG content (in this instance rotating a line) takes a noticeable amount of time to get antialiased. This amount of time is too long for animations using requestAnimationFrame as shown in the attached example. Using a lower framerate (e.g. 1fps) allows to observe that the content is first drawn aliased, then smoothed. This may be related to bug #767622. Actual results: The line on the left is animated with requestAnimationFrame and is always drawn aliased. The line on the right is animated every second with setTimeout and first appears aliased, then becomes smooth, until it rotates again. Expected results: Both lines should be anti-aliased.
Component: Untriaged → SVG
Product: Firefox → Core
Reporter, could you download and test with Nightly (Firefox 25), the AA rendering looks better for me. See http://nightly.mozilla.org/ (you can test Nightly with a clean profile if you want, see https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles)
Flags: needinfo?(pom)
(In reply to Loic from comment #1) > Reporter, could you download and test with Nightly (Firefox 25), the AA > rendering looks better for me. Testing with Nightly 25.0a1 on OS X 10.8.4, I see some improvement on half of the test case: the green bar, updated every second, seems antialiased correctly. The blue bar on the left side, updated every 16ms, is still aliased. Thanks.
Flags: needinfo?(pom)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: