W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2014

Re: [spec-prod] SVG with fallback how-to?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Mar 2014 18:04:57 -0700
Message-ID: <CAAWBYDCV-BYst=Y+M_7rzvsS+xyswz3cUNwucBtzmnYZ-PEZWA@mail.gmail.com>
To: "Hill, Brad" <bhill@paypal.com>
Cc: "spec-prod@w3.org" <spec-prod@w3.org>
On Wed, Mar 12, 2014 at 5:17 PM, Hill, Brad <bhill@paypal.com> wrote:
> I'm trying to get a spec with SVG through PubRules.
>
> PubRules and Validator didn't like inline SVG, and suggested I do "SVG with fallback".
>
> I pulled the SVG out and tried the technique designated here:
>
> http://css-tricks.com/svg-fallbacks/
>
> <svg width="96" height="96">
>   <image xlink:href="svg.svg" src="svg.png" width="96" height="96" />
> </svg>
>
> But the Validator doesn't like that, either. (src not allowed there in image)
>
> How do I use SVG in a way that passes Validation and PubRules?

<img src="foo.svg">

I've published plenty of specs with this markup.

~TJ
Received on Thursday, 13 March 2014 01:05:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:19 UTC