chromium/third_party/blink/web_tests/editing/pasteboard/pasting-tabs.html

<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This tests copying plain text with tabs and pasting it into an editable
// region using paste and match style. The tabs should be preserved.
selection_test(
    '<div contenteditable>|</div>',
    selection => {
        selection.setClipboardData('', 'AB\tYZ');
        selection.document.execCommand('PasteAndMatchStyle');
    },
    '<div contenteditable>AB<span style="white-space:pre">\t</span>YZ|</div>');
</script>