Truly independent web browser
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
div { width: 120px; min-height: 30px; background: lightblue; }
</style>
<div id="target" style="overflow: auto; height: 80px"><div style="width: 3000px; height: 2500px"><div style="margin: 600px; box-shadow: -400px 350px 90px 100px black">shadow</div></div></div>
<script>
test(() => {
internals.recordDisplayListForTesting(false, true);
target.scrollTo(500, 700);
internals.recordDisplayListForTesting(false);
internals.recordDisplayListForTesting(false, true);
target.scrollTo(1500, 1700);
internals.recordDisplayListForTesting(false);
internals.recordDisplayListForTesting(false, true);
println("PASS");
});
</script>