New issue
Advanced search Search tips
Starred by 8 users

Issue metadata

Status: Fixed
Closed: Mar 2013
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug

Sign in to add a comment

Issue 161982: SVG images rendered as Bitmap

Reported by, Nov 20 2012

Issue description

Steps to reproduce the problem:
1. Go to the jsfiddle page(
2. Zoom into the SVG-files displayed in the lower right of the page

What is the expected behavior?
All three SVG files should be displayed sharp and clear in every zoom state

What went wrong?
All SVGs included as an image are blurry, looks like they are rendered as a bitmap and not repainted on zoom.
Only the inline SVG is sharp as expected

Example URL:

Does it occur on multiple sites: Yes

Is it a problem playing media? No

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes Android Stock browser

Chrome version: 18.0.1025464  Channel: stable
OS Version: 4.1.1
141 KB View Download

Comment 1 by, Nov 27 2012

I have noticed this to, and only when the svg is being declared as a background-image css property, inline svg are fine. We are using base64 data uri's for all icons on 

Our svg's report themselves at the correct  pixels size for the box model space. But we only see this issue on high dpi devices. Therefore, it is as if the  engine is painting the svg at it's reported size then scaling the bitmaped version @2x for the screen, which in turn is causing anti-aliasing and blurring. 

The stock jellybean 4.2 browser handles these perfectly.

Comment 2 by, Nov 28 2012


Comment 3 by, Nov 28 2012

Status: FixUnreleased
hardwehr, thank you for taking the time to file this bug.

The good news is: I fixed this a few months ago.

Unfortunately, the Chrome 18 version that is shipping on many Android devices is behind the desktop browser by a few versions, which is why this bug is still biting you. The Chrome team is working hard to update the Android browser and "early next year" is roughly the timeframe that's been announced publicly (

I'm marking this as FixUnreleased, but please do comment if I can help further.

Comment 4 by, Dec 20 2012

Status: Fixed

Comment 5 by, Mar 3 2013

Just downloaded the latest chrome beta (v25.0.1364.122) and this issue still exists?

Comment 6 by, Mar 5 2013

Status: Started
There have been over 10 separate bugs in this area fixed in the past 4 months. I suspect the one I was referring to in #3 was only a partial fix (shame on me for not including the link...)

I can confirm the svg-as-image cases look blurry in Chrome 25, but they are fixed in Chrome 26. The Android browser just got on the regular Chrome release cycle so this fix should appear in the next beta update.

Here is a summary of the recent patches in this area (all of these are in Chrome 26): - Preserve container size requests across image loads - Replace SVG bitmap cache with directly-rendered SVG - Fix scaling of tiled SVG backgrounds on high-dpi displays - Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images. - Track scale and zoom together when drawing SVG images - Skip CachedImage::CreateImage if we don't have image data - Clear pending container size requests as early as possible - Refactor client removal in CachedResource::switchClientsToRevalidatedResource - Queue container size requests while images are loading. - Transformed SVG background images can be blurry/pixelated

I'm moving this status to "Started" until we can confirm this is fixed in Chrome 26beta on Android.

Comment 7 by, Mar 10 2013

Project Member
Labels: -Area-Webkit Cr-Content

Comment 8 by, Mar 30 2013

Status: Fixed
This looks good on Chrome 26.0.1410.49b on Android. Finally marking as fixed.
95.6 KB View Download

Comment 9 by, Apr 5 2013

Project Member
Labels: -Cr-Content Cr-Blink

Comment 10 by, Feb 15 2017

I'm currently having this issue with Chrome 55 on my Nexus 5 and all other android devices. 

My css is as follows:

.social .email a {
    width: 30px;
    height: 30px;
    background-position: -140px -263px;
.social a, .social label {
    display: block;
    min-width: 30px;
    height: 30px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    background-size: 348px 296px;
    background-image: url(../assets/webSprite.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-position: -110px -263px;
926 KB View Download

Comment 11 by, Feb 15 2017

Jamie, can you create a small example (, or, etc) showing the bug?

Sign in to add a comment