Re: Toolbar icons

Rick,

Both Chrome and Safari use an HTML5 parser for SVG in HTML and an XML
parser for standalone SVG. The HTML5 parser is much more lax in terms of
error handling and I prefer wrapping my SVG examples in HTML for that
reason.


On Thu, Aug 8, 2013 at 7:46 AM, Rick <graham.rick@gmail.com> wrote:

>
>
>
> On Thu, Aug 8, 2013 at 8:16 AM, Cameron McCormack <cam@mcc.id.au> wrote:
>
>> Hi Rick,
>>
>> If you are lucky, adding a <link xmlns="http://www.w3.org/1999/**xhtml<http://www.w3.org/1999/xhtml>"
>> rel="favicon" href="..." type="..."/> to your SVG document will work.  I
>> haven't tested it.
>>
>
> Thanks Cameron.
>
> I haven't tested it on all browsers.  I think I tried two and they failed.
>
> It works if you use an XHTML wrapper, which I could just do.
>
> I see this as a pretty basic requirement, provide a way for people to
> visually file their SVG documents like they do and have done with all their
> other web documents for over a decade.  Because it works.
>
> Does everyone wrap their SVG in XHTML?  I don't think you should have to
> do that to be a first class web doc.
>
> Cheers!
>
> --
> *Once ... in the wilds of Afghanistan, I lost my corkscrew, and we were
> forced to live on nothing but food and water for days.
>         -- W. C. Fields*
>
>

Received on Thursday, 8 August 2013 16:57:31 UTC