on.addRange(range);
    assert_equals(selection.toString().replace(/\r\n/g, "\n"), '\nstyle { display:block; color: green; } script { color: blue; }\nfunction test_block_script() { let pre = document.createElement("pre"); pre.append(document.createTextNode("PASS")); document.getElementById("p1").append(pre); }\n\nPASS');
  });
};
</script>
<div id=log></div>
<div id="p1">
<style style="display:none">#not_included{}</style>
<style>
  style { display:block; color: green; }
  script { color: blue; }
</style>
<