blob: 02f3b3cd3fc3c8826c4ff1d3077e95fdbd82089f [file] [log] [blame]
<!doctype HTML>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This is a test for http://wkb.ug/14062
test(() => assert_selection(
'<div contenteditable>^<span>Some text.</span>|</div>',
'removeFormat',
'<div contenteditable><span>^Some text.|</span></div>'),
'RemoveFormat command should not convert U+0020 to U+00A0');
</script>