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

RE: some HTML elements in SVG documents

From: David Dailey <ddailey@zoominternet.net>
Date: Thu, 6 Aug 2015 19:05:29 -0400
To: "'Cameron McCormack'" <cam@mcc.id.au>, <www-svg@w3.org>
Message-ID: <006a01d0d09c$63913280$2ab39780$@net>

-----Original Message-----
From: Cameron McCormack 
To: www-svg@w3.org
Subject: some HTML elements in SVG documents

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

-----------------------

Hi Cameron,

I think the one HTML element that has had the most historic traction/interest/request frequency for the past 15 years has been <textarea> / <textArea>.

Had it been implemented sooner, then we would be deprecating HTML in lieu of SVG!

Regards
David
Received on Thursday, 6 August 2015 23:06:03 UTC

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