Closed
Bug 862323
Opened 12 years ago
Closed 11 years ago
SVG images apears fuzzy when changing the original viewBox (zoom in)
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dacosta, Unassigned)
References
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130329030352
Steps to reproduce:
Having embeded svg images on a SVG, if I'll change the viewbox to go deapth, all embeded images apears fuzzy.
Step to reproduce the error:
1.- Go to the follow link: http://jsfiddle.net/davidaco/YMWha/17/
2.- Click on any button ( test1, test2 test3 ...) each button will change the viewBox value.
Using Firefox = 20.0
OS = Ubuntu 12.10
Actual results:
Images apears fuzzy
Expected results:
images should display according the zoom level applied on the viewbox.
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
I tested it in firefox 19 and it works fine, this error just start when i moved to firefox 20
Comment 3•12 years ago
|
||
I don't think this is a duplicate of bug 600207, given that
a) this (reportedly) started with Firefox 20
b) The fiddle has SVG content inline in HTML, whereas bug 600207 is about SVG-as-an-image
Un-duping.
Comment 4•12 years ago
|
||
I get this (huge) regression range.
Last good nightly: 2013-01-07
First bad nightly: 2013-01-08
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=605ae260b7c8&tochange=dccab70d8554
I tested by hitting "test 1" and "test 2", and "test 3" in the fiddle, and resizing the window / frame to see if I could trigger fuzziness in any of the shapes.
In the 1/07 build, I couldn't trigger any fuzziness. In the 1/08 build, I'd see fuzziness in at least one object, and I could trigger fuzziness in other objects depending on the window-size / frame-size.
Comment 5•12 years ago
|
||
Pushlog for inbound:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f80f9b1e217b&tochange=27ed16bab80f
I suspect this change:
546f9f3999d3 Robert O'Callahan — Bug 504071. Allow image drawing to snap to pixel boundaries even if there's scaling, on all platforms. Not only is it faster, it avoids seaming. This is consistent with snapping behavior of other drawing operations. r=joe
which could have opened us up to bug 600207 in more situations.
(In reply to Daniel Holbert [:dholbert] from comment #3)
> b) The fiddle has SVG content inline in HTML, whereas bug 600207 is about
> SVG-as-an-image
(Since posting that, I noticed that the fuzzy elements in question are <image> elements that do indeed point to SVG content -- so this is a SVG-as-an-image use-case, after all.)
So I think this is a regression from bug 504071, and fixing bug 600207 would likely fix it, so I'm marking as blocking bug 504071 and depending on bug 600207.
Blocks: 504071
Comment 6•12 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #5)
> I suspect this change:
> 546f9f3999d3 Robert O'Callahan — Bug 504071. Allow image drawing to snap to
> pixel boundaries even if there's scaling, on all platforms. Not only is it
> faster, it avoids seaming. This is consistent with snapping behavior of
> other drawing operations. r=joe
Confirmed -- a targeted build from https://hg.mozilla.org/mozilla-central/rev/546f9f3999d3 shows the bug, whereas a targeted build from its parent (965e97b75bfa) does not.
(In reply to David from comment #2)
> I tested it in firefox 19 and it works fine, this error just start when i
> moved to firefox 20
Same here. My blurring started in Firefox 20. Also, My svg was in an img tag.
Comment 9•11 years ago
|
||
Seems fixed now (in Nightlies) anyone else agree?
Comment 10•11 years ago
|
||
Appears to be fixed, yeah! Likely by bug 600207 (as suggested at the end of comment 5).
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Depends on: 600207
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•