- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Sun, 28 Sep 2014 00:51:28 -0700 (PDT)
- To: public-svg-wg@w3.org
https://github.com/w3c/svgwg/commit/435c4df69556aa4665270fe74e349c23d5afca45 commit 435c4df69556aa4665270fe74e349c23d5afca45 Author: Robert Longson <Robert.Longson@bjss.com> Date: Sat Sep 27 10:02:25 2014 +0100 Add note that svg as an image cannot share stylesheets diff --git a/master/styling.html b/master/styling.html index 422a539..eb7c0a8 100644 --- a/master/styling.html +++ b/master/styling.html @@ -1046,7 +1046,12 @@ descendants.</p> instruction) apply across the entire SVG document, but do not affect the referencing document (perhaps HTML or XHTML). To get the same styling across both the [X]HTML document and the - SVG document, link them both to the same style sheet.</dd> + SVG document, link them both to the same style sheet. + Note that SVG included as an image e.g. via an HTML + <span class='element-name'>'img'</span> element cannot share + stylesheets as it must consist of a single file so any + stylesheet data must be present as style elements, style + attributes or stylesheets included internally via data URLs.</dd> <dt>Stand-alone SVG content textually included in an XML document</dt> https://github.com/w3c/svgwg/commit/12886b91a2e4e14a5af147eb0dfb0d9651afff15 commit 12886b91a2e4e14a5af147eb0dfb0d9651afff15 Merge: 6df2d81 435c4df Author: Nantonos <nantonos@epona.net> Date: Sun Sep 28 09:49:16 2014 +0200 Merge pull request #1 from longsonr/image-stylesheet-note Add note that svg as an image cannot share stylesheets ============================================================ /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --list-pages /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build styling /home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build-single-page
Received on Sunday, 28 September 2014 07:52:01 UTC