[Webkit-unassigned] [Bug 125289] SVG Patterns in SVG images don't take screen resolution into account

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 13 22:56:58 PDT 2014


--- Comment #5 from Dirk Schulze <krit at webkit.org>  2014-05-13 22:57:20 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Hmm, I fixed this for the traditional case, but it must not be plumbed through to SVG-as-image. Possibly because the fake Page that we make for SVGImage doesn't know about the deviceScaleFactor of the parent Page/etc.?
> And indeed, you'll notice that if you go directly to http://dev.w3.org/fxtf/css-masking-1/images/mask-repeat.svg, it is sharp on a retina display.

I just tried to set the device pixel ratio to the page created with SVGImage (hard coded). The image looks indeed better initially. If you zoom in the page, CMD +, the pattern is slightly blurry again Nst much but if you look closer noticeable.

The real problem is that the image seems to get gigantic in memory size as more you zoom in causing the browser to crash at zoom level 200%.

Everything tested with the CSS Masking document. So simply setting the devicePixelRatio seems to be wrong.

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