W3C home > Mailing lists > Public > www-svg@w3.org > August 2015

Re: some HTML elements in SVG documents

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 7 Aug 2015 11:38:18 -0700
Message-ID: <CAAWBYDDy=DvGYtqSLfgo4k89kjER2nmY7iTDHy27df_rr6TU1w@mail.gmail.com>
To: www-svg <www-svg@w3.org>
On Thu, Aug 6, 2015 at 2:51 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> I did some very quick testing to see whether various metadata-ish HTML
> elements (in the HTML namespace) work in SVG documents.  I tested title,
> base, link, meta, style and script.
>
>   title: doesn’t have any effect
>   http://mcc.id.au/temp/title.svg
>
>   base: affects <a xlink:href>, at least, in Firefox/Chrome/Safari but
>   not in Edge
>   http://mcc.id.au/temp/title.svg
>
>   link: allows style sheet loading across Firefox/Chrome/Safari/Edge
>   http://mcc.id.au/temp/link.svg
>
>   meta: allows page refresh across Firefox/Chrome/Safari/Edge
>   http://mcc.id.au/temp/meta.svg
>
>   style: works across Firefox/Chrome/Safari/Edge
>   http://mcc.id.au/temp/style.svg
>
>   script: works across Firefox/Chrome/Safari/Edge
>   http://mcc.id.au/temp/script.svg
>
> I added a small section to the spec, which needs fleshing out:
> https://svgwg.org/svg2-draft/struct.html#HTMLMetadataElements

+1, I'm happy about these.  In particular, <meta> will make a few
things easier to develop in the future (like Parameters).

~TJ
Received on Friday, 7 August 2015 18:39:05 UTC

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