editor/libeditor/crashtests/769967.xhtml
author Lee Salzman <lsalzman@mozilla.com>
Sun, 20 Jul 2025 08:30:17 +0000 (18 hours ago)
changeset 797272 cfd0090968e11deee3db2fd88b291a9f16dd1fda
parent 545230 0157255fe5ef11a842fc5cb240f9c342ac9452f1
permissions -rw-r--r--
Bug 1978234 - Use simpler software downscale fallback. r=ahale Differential Revision: https://phabricator.services.mozilla.com/D257942
<html xmlns="http://www.w3.org/1999/xhtml" contenteditable="true" style="user-select: all;"><sub>x</sub><script>
function boom()
{
  window.getSelection().removeAllRanges();
  var r = document.createRange();
  r.setStart(document.documentElement, 0);
  r.setEnd(document.documentElement, 0);
  window.getSelection().addRange(r);

  document.execCommand("subscript", false, null);
  document.execCommand("insertText", false, "y");
}

window.addEventListener("load", boom, false);

</script></html>