Changes between Initial Version and Version 1 of Ticket #35824
- Timestamp:
- 02/14/2016 07:54:22 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35824
-
Property
Milestone
changed from
Awaiting ReviewtoFuture Release
-
Property
Milestone
changed from
-
Ticket #35824 – Description
initial v1 1 1 For example if we have inline definition 2 {{{ 2 3 {{{#!xml 3 4 <svg width="0" height="0" style="position:absolute"> 4 5 <symbol viewBox="0 0 14 14" id="icon-money"><path d="M12.3 5.5c.1-.3.2-.6.2-1 0-2-2.4-3.5-5.5-3.5S1.5 2.6 1.5 4.5c0 .4.1.7.2 1-.1.3-.2.7-.2 1 0 .4.1.7.2 1-.1.3-.2.7-.2 1 0 2 2.4 3.5 5.5 3.5s5.5-1.5 5.5-3.5c0-.3-.1-.7-.2-1 .1-.3.2-.6.2-1 0-.3-.1-.6-.2-1zM7 8c1.9 0 3.5-.6 4.5-1.5C11.5 7.9 9.4 9 7 9S2.5 7.9 2.5 6.6C3.5 7.5 5.1 8 7 8zm0-6c2.4 0 4.5 1.1 4.5 2.5S9.4 7 7 7 2.5 5.9 2.5 4.5 4.6 2 7 2zm0 9c-2.4 0-4.5-1.1-4.5-2.5 1 1 2.6 1.5 4.5 1.5s3.5-.6 4.5-1.5C11.5 9.9 9.4 11 7 11z"/></symbol> … … 9 10 and then use it like this 10 11 11 {{{ 12 {{{#!xml 12 13 <svg> 13 <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-money"></use>14 <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-money"></use> 14 15 </svg> 15 16 }}} … … 18 19 However, the externally linked svg icons 19 20 20 {{{ 21 {{{#!xml 21 22 <svg> 22 <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/img/some-sprite.svg#icon-money"></use>23 <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/img/some-sprite.svg#icon-money"></use> 23 24 </svg> 24 25 }}} 25 do work fine. 26 27 do work fine. 26 28 27 29