Closed Bug 377996 Opened 18 years ago Closed 17 years ago

native SVG plugin slow rendering: .5 radius circle

Categories

(Core :: SVG, defect)

1.8 Branch
x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: neoqix, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 The following SVG with a .5 radius circle: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="-1 -1 2 2"> <circle cx="0" cy="0" r=".5"/> </svg> seems to draw much slower than a .75 circle: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="-1 -1 2 2"> <circle cx="0" cy="0" r=".75"/> </svg> Is this doesn't seem very logical, since the .75 should take a bit longer to render. It look like the circle is rendered slower when the radius is closer to .5, is this normal? I tested it with FF 2.0.0.2 on Windows 2000, and with FF 2.0.0.3 on Windows XP SP2, they both have the 'problem'. I also tested it with the nightly build on Windows XP SP2, which doesn't have the 'problem'. Reproducible: Always Steps to Reproduce: 1. Run the SVG code with the .5 radius circle in mozilla using the native SVG rendering 2. Drag the resize-handle of firefox, so it is redrawing constantly. 3. Then run the SVG code with the .75 radius circle in mozilla using the native SVG rendering. 2. Again drag the resize-handle of firefox, so it is redrawing constantly. Actual Results: The .5 radius circle seem to render slower than the .75 radius circle Expected Results: The .5 radius circle renders slightly faster than the .75 radius circle The default theme was used. Links for fast testing: - .5 radius circle: http://azer.nl/test.svg - .75 radius circle: http://azer.nl/test2.svg
Assignee: nobody → general
Component: General → SVG
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Maarten, can you check if this is fixed for you in an up to date trunk build from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ ?
The 'problem' seems to be fixed. Tested on Windows XP and 2000, both with Firefox 2.0.0.11
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Okay, thanks for checking. I'm changing the resolution to worksforme since that's our convention for bugs that have disappeared for unknown reasons. Works fine on trunk builds too.
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.