DescriptionReplace 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
Committed: https://crrev.com/0c39a6f29e59594a7b9c412a8203af9fc43e4ecd
Cr-Commit-Position: refs/heads/master@{#387440}
Patch Set 1 #Patch Set 2 : One more TE #
Messages
Total messages: 11 (6 generated)
|