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

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