WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35824


Ignore:
Timestamp:
02/14/2016 07:54:22 AM (4 years ago)
Author:
westonruter
Comment:

I cannot reproduce the issue in Chrome 48, however I can reproduce it in Firefox 43.

I have a feeling that the issue here is similar to #23225 and will be resolved with the implementation of #30028.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35824

    • Property Milestone changed from Awaiting Review to Future Release
  • Ticket #35824 – Description

    initial v1  
    11For example if we have inline definition
    2 {{{
     2
     3{{{#!xml
    34<svg width="0" height="0" style="position:absolute">
    45<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>
     
    910and then use it like this
    1011
    11 {{{
     12{{{#!xml
    1213<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>
    1415</svg>
    1516}}}
     
    1819However, the externally linked svg icons
    1920
    20 {{{
     21{{{#!xml
    2122<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>
    2324</svg>
    2425}}}
    25  do work fine.
     26
     27do work fine.
    2628
    2729