The <object> fallback has a drawback: it downloads both assets, regardless of support.
Could you please verify whether the <picture>-based fallback works for you? See https://people.debian.org/~stapelberg/fallback/i3.1.en.html for a demo. On Mon, Jan 23, 2017 at 10:02 AM, Michael Stapelberg <mich...@stapelberg.ch> wrote: > I’m using SVG because it scales to whichever DPI your monitor might > have. I’ll have a look at switching to <object> later, thanks. > > On Mon, Jan 23, 2017 at 10:00 AM, Paul Wise <p...@debian.org> wrote: >> On Mon, 2017-01-23 at 08:47 +0100, Michael Stapelberg wrote: >> >>> Could you clarify how I can implement a fallback in a way that works >>> for Tor Browser please? >> >> The <object> solution here appears to work: >> >> https://css-tricks.com/a-complete-guide-to-svg-fallbacks/#fallback-object >> >> In this case, the page constrains the SVG image to the same number of >> pixels as the equivalent PNG image and the PNG image is a smaller >> number of bytes and probably renders faster so I think just use PNG. >> >> -- >> bye, >> pabs >> >> https://wiki.debian.org/PaulWise > > > > -- > Best regards, > Michael -- Best regards, Michael