<style>
*+* {display:contents}
</style>
<script>
function main() {
  if (window.testRunner)
      testRunner.dumpAsText();
  document.designMode = "on";
  window.find(" ");
  document.execCommand("insertOrderedList",false,null);
}
</script>
<body onload="main()">
<input><p>Pass if no crash.</p>
