Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
based off of niklasvh#2961 with changes
calling adoptNode before document.open() caused the snapshot to get cropped, so adapt the pr to only get the baseURI first, then call adoptNode and add the <base> element to it afterwards Squashed commit of the following: commit 41fb73e Author: Frank Cheung <frank.cheung.work@outlook.com> Date: Sun Sep 25 13:13:31 2022 +0800 fix: add <base> to fix relative error in iframe
- Loading branch information