chromium/third_party/blink/web_tests/editing/spelling/cold_mode_nested_editables.html

<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script src="spellcheck_test.js"></script>
<script>
const longCorrectText = ' word '.repeat(20);

// crbug.com/848026
spellcheck_test(
    [
      `<div contenteditable>${longCorrectText}`,
      '<span contenteditable="false">zz ',
      '<span contenteditable id="target">zz</span>',
      ' zz</span>',
      `${longCorrectText}</div>`
    ].join(''),
    document => document.getElementById('target').focus(),
    [
      `<div contenteditable>${longCorrectText}`,
      '<span contenteditable="false">zz ',
      '<span contenteditable id="target">#zz#</span>',
      ' zz</span>',
      `${longCorrectText}</div>`
    ].join(''),
    {
      title: 'Cold mode checks text in nested editables correctly without crashing',
      needsFullCheck: true
    }
);
</script>