diff --git a/polymer-ui-iconset.html b/polymer-ui-iconset.html index cc7808b..6b9bc9e 100644 --- a/polymer-ui-iconset.html +++ b/polymer-ui-iconset.html @@ -43,6 +43,11 @@ offsety: 0, type: 'iconset', ready: function() { + // TODO(sorvell): ensure iconset's src is always relative to the main + // document; remove useNative when code paths are unified. + if (HTMLImports.useNative && this.src && (this.ownerDocument !== document)) { + this.src = this.resolvePath(this.src, this.ownerDocument.baseURI); + } this.super(); this.iconsChanged(); this.updateThemes();