chromium/third_party/blink/web_tests/editing/inserting/insert-text-into-tab-span.html

<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
selection_test(
  [
    '<div contenteditable>',
      '<span style="white-space: pre;">\t<span>|hello</span></span>',
    '</div>',
  ],
  'insertText X',
  [
    '<div contenteditable>',
      '<span style="white-space: pre;">\tX|<span>hello</span></span>',
    '</div>',
  ],
  'Insert text into tab span');
</script>