- From: Robert Longson <longsonr@gmail.com>
- Date: Thu, 25 Sep 2014 15:23:00 +0100
- To: www-svg@w3.org
Received on Thursday, 25 September 2014 14:23:27 UTC
> Ooops? For sure, _SVG_ images and HTMl files can (technically) share the > same stylesheet - the (technical) solution is also written in that > referenced part of the spec: "To get the same styling across both the > [X]HTML document and the SVG document, link them both to the same style > sheet." I think you've misunderstood. I'm talking about svg-as-an-image here. So SVG inline in a HTML or external referenced by an <object> <iframe> or <embed> tag can share the same stylesheet as the html document. In fact if the SVG is inline in the HTML that's pretty much a given. But if the SVG is displayed using a HTML <img> tag or an SVG <image> tag or a background-image CSS then it cannot share the same stylesheet because the SVG must then be complete in a single file. Robert.
Received on Thursday, 25 September 2014 14:23:27 UTC