Skip to content

Commit

Permalink
Add svg > use xlink:href rewrite
Browse files Browse the repository at this point in the history
Add svg image url example in preparation of #9243.
<svg class="icon" xmlns:xlink="http://www.w3.org/1999/xlink"><use xlink:href="https://example.com/test.svg#icon"></use></svg>
  • Loading branch information
honeybadgerdontcare committed Jun 20, 2017
1 parent 810335c commit 096bc73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/amp-cache-modifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ The AMP Cache rewrites URLs found in the AMP HTML for two purposes. One is to re
| `<amp-img srcset="https://example.com/bar.png 1080w, https://example.com/bar-400.png 400w">`| `<amp-img src="/i/s/example.com/bar.png 1080w, /i/s/example.com/bar-400.png 400w">` |
| `<amp-anim src=foo.gif></amp-anim>` | `<amp-anim src=/i/s/example.com/foo.gif></amp-anim>` |
| `<amp-video poster=bar.png>` | `<amp-video poster=/i/s/example.com/bar.png>` |
| `<svg class="icon" xmlns:xlink="http://www.w3.org/1999/xlink"><use xlink:href="https://example.com/test.svg#icon"></use></svg>` | `<svg class=icon xmlns:xlink="http://www.w3.org/1999/xlink"><use xlink:href="/i/s/example.com/test.svg#icon"></use></svg>` |

</details>

Expand Down

0 comments on commit 096bc73

Please sign in to comment.