Adding x: namespace prefix to href

This commit is contained in:
Pavel Nikulin
2019-03-15 20:04:43 +06:00
parent bfcdb45b82
commit 01482e01ef
14 changed files with 40 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg"
<svg xmlns="http://www.w3.org/2000/svg" xmlns:x="http://www.w3.org/1999/x"
aria-label="DuckDuckGo" role="img"
viewBox="0 0 512 512" fill="#fff"><rect
width="512" height="512"
rx="15%"/><g transform="matrix(2,0,0,2,256,256)"><circle r="108" fill="#d53"/><circle r="96" fill="none" stroke="#fff" stroke-width="7"/><path d="M-32-55C-62-48-51-6-51-6l19 93 7 3M-39-73h-8l11 4s-11 0-11 7c24-1 35 5 35 5" fill="#ddd"/><path d="M25 95S1 57 1 32c0-47 31-7 31-44S1-58 1-58C-14-77-43-73-43-73l7 4s-7 2-10 4 19 -3 28 5c-37 3-31 33-31 33L-27 93"/><path d="M25-1 63-11C97-6 34 13 30 12 0 7 9 32 45 24s10 20-24 9C-26 20-1-3 25-1" fill="#fc0"/><path d="M15 78l2-3c22 8 23 11 22-9s0-20-23-3c0-5-13-3-15 0-21-9-23-12-22 2 2 29 1 24 21 14" fill="#6b5"/><path d="M-1 67S-2 77-1 79s17 2 17-2S8 80 3 78 1 65 1 65" fill="#4a4"/><g fill="#148"><path d="M-25-36c-16-8-15 8-15 8 3-11 15-8 15-8m49 0c-9-5-15 1-15 1 6-11 15-1 15-1"/><path id="a" d="M-33-15c0 9 14 9 14 0S-33-24-33-15m8-2a2 2 0 0 1 4 0A2 2 0 0 1-25-17"/><use href="#a" x="48" y="-7" transform="scale(.9)"/></g></g></svg>
rx="15%"/><g transform="matrix(2,0,0,2,256,256)"><circle r="108" fill="#d53"/><circle r="96" fill="none" stroke="#fff" stroke-width="7"/><path d="M-32-55C-62-48-51-6-51-6l19 93 7 3M-39-73h-8l11 4s-11 0-11 7c24-1 35 5 35 5" fill="#ddd"/><path d="M25 95S1 57 1 32c0-47 31-7 31-44S1-58 1-58C-14-77-43-73-43-73l7 4s-7 2-10 4 19 -3 28 5c-37 3-31 33-31 33L-27 93"/><path d="M25-1 63-11C97-6 34 13 30 12 0 7 9 32 45 24s10 20-24 9C-26 20-1-3 25-1" fill="#fc0"/><path d="M15 78l2-3c22 8 23 11 22-9s0-20-23-3c0-5-13-3-15 0-21-9-23-12-22 2 2 29 1 24 21 14" fill="#6b5"/><path d="M-1 67S-2 77-1 79s17 2 17-2S8 80 3 78 1 65 1 65" fill="#4a4"/><g fill="#148"><path d="M-25-36c-16-8-15 8-15 8 3-11 15-8 15-8m49 0c-9-5-15 1-15 1 6-11 15-1 15-1"/><path id="a" d="M-33-15c0 9 14 9 14 0S-33-24-33-15m8-2a2 2 0 0 1 4 0A2 2 0 0 1-25-17"/><use x:href="#a" x="48" y="-7" transform="scale(.9)"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 1023 B

After

Width:  |  Height:  |  Size: 1.0 KiB