Truly independent web browser
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div><div id="target">child</div></div>
<script>
test(() => {
internals.recordDisplayListForTesting(false, true);
target.style.transform = "translate(-250px, 300px) scale(2)";
internals.recordDisplayListForTesting(false);
internals.recordDisplayListForTesting(false, true);
target.style.transform = "translate(500px, -200px)";
internals.recordDisplayListForTesting(false);
internals.recordDisplayListForTesting(false, true);
target.style.transform = "none";
internals.recordDisplayListForTesting(false);
internals.recordDisplayListForTesting(false, true);
println("PASS");
});
</script>