Reputation: 2786
Using Polymer.js, I'm trying to use:
<template>
<svg>
<use xlink:href="file.svg#my-id"/>
</svg>
</template>
and chrome will not load svg file when this code is inside polymer template tag. Same code works fine outside template tag. Firefox renders fine inside and outside polymer tag so it's only chrome and potentially only chrome 35.
Complete Example http://jsbin.com/dukiv/2/edit
I've searched internet for reported issues and found some issues reported against dart but nothing for Polymer.js. If this is a known issue, is there a workaround or issue I can track against?
Upvotes: 0
Views: 517
Reputation: 834
This was a bug in Chrome 35 when native ShadowDOM was enabled: https://code.google.com/p/chromium/issues/detail?id=356891.
It is fixed in Chrome 36
Upvotes: 1