t && at.value;
if (v && v.search(BINDING_RX) < 0) {
at.value = a === "style" ? resolveCss(v, ownerDocument) : resolve(v, ownerDocument);
}
}
}
}
}
function resolve(url, ownerDocument) {
var resolver = getUrlResolver(ownerDocument);
resolver.href = url;
return resolver.href || url;
}
var tempDoc;
var tempDocBase;
function resolveUrl(url, baseUri) {
if (!tempDoc) {
tempDoc = document.implementation.createHTMLDocument("temp");
tempDocBase = tempDoc.createElement("base");
tempDoc.head.appendChild(tempDocBase);
