srcset attribute is not converted to absolute path during the snapshot phase
IMFIL opened this issue · comments
Hey everyone.
The srcset attribute on img tags are not converted into absolute path.
gets converted to this:
The resulting DOM element should have an absolute path in the srcset attribute.
Would this solve it ?
if (name === 'src' || name === 'href' || name === "srcset") {
attributes[name] = absoluteToDoc(doc, value);
} else if (name === 'style') {
attributes[name] = absoluteToStylesheet(value, location.href);
} else {
attributes[name] = value;
}
}