Replace CR/NL by space - don't remove altogether when xml:space=default

This moves handling of xml:space=default closer to the more generic
white-space handling, by not removing CR and NL characters, but rather
just replacing them with a regular space.
This modifies behavior, but means aligning with non-WebKit browser
engines.
This also simplifies the code a bit - with promise of further
simplification (or rather assimilation.)

TEST=svg/custom/text-whitespace-handling.svg
BUG=602606, 366558

Review URL: https://codereview.chromium.org/1888823002

Cr-Commit-Position: refs/heads/master@{#387440}
diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations
index 139eaa7..1deac22 100644
--- a/third_party/WebKit/LayoutTests/TestExpectations
+++ b/third_party/WebKit/LayoutTests/TestExpectations
@@ -141,6 +141,16 @@
 crbug.com/520737 [ Mac ] imported/csswg-test/css-writing-modes-3/writing-mode-vertical-rl-001.xht [ Failure Pass Timeout ]
 crbug.com/520736 [ Win7 ] media/W3C/video/networkState/networkState_during_progress.html [ Failure Pass ]
 
+crbug.com/602606 svg/W3C-SVG-1.1/styling-css-02-b.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/W3C-SVG-1.1/text-align-08-b.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/W3C-SVG-1.1/text-tselect-02-f.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/W3C-SVG-1.1/text-ws-01-t.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/custom/invalid-text-content.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/custom/text-whitespace-handling.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/text/text-selection-tselect-02-f.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/text/text-selection-ws-01-t.svg [ NeedsRebaseline ]
+crbug.com/602606 svg/text/textPathBoundsBug.svg [ NeedsRebaseline ]
+
 crbug.com/563650 inspector/elements/css-rule-hover-highlights-selectors.html [ Pass Failure ]
 
 crbug.com/522641 inspector/elements/styles-4/styles-update-links.html [ Pass Timeout ]