iron-image
iron-image copied to clipboard
Handle a baseURI of null
When ownerDocument.baseURI is null (detached document, maybe some other cases), new URL(url, baseURI) will throw.
Only use new URL when baseURI is not null.
This will cause #86 again when the URL isn't resolved. How about (this.ownerDocument || document).baseURI?
I don't believe this is applicable anymore with the latest in master