chromium/third_party/blink/web_tests/svg/text/text-collapsed-ws-remove-textnode.html

<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<svg>
  <text y="20">Foo<tspan> </tspan> bar</text>
</svg>
<script>
runAfterLayoutAndPaint(function() {
  document.querySelector('tspan').firstChild.remove();
}, true);
</script>