Testcases where whitespace a single text node

Leading and trailing whitespace:
Only leading whitespace:
Only trailing whitespace:
A pair of images with whitespace between only:
A pair of images with no whitespace:
Text with no whitespace:
Text
Text with leading whitespace:
Text
Text with trailing whitespace:
Text
Text with intermediate whitespace:
Text Text

Testcases where whitespace is two text nodes separated by comments

Leading and trailing whitespace:
Only leading whitespace:
Only trailing whitespace:
A pair of images with whitespace between only:
A pair of images with no whitespace:
Text with no whitespace:
Text
Text with leading whitespace:
Text
Text with trailing whitespace:
Text
Text with intermediate whitespace:
Text Text

Testcases where whitespace a single text node

Leading and trailing whitespace:



Only leading whitespace:



Only trailing whitespace:



A pair of images with whitespace between only:



A pair of images with no whitespace:



Text with no whitespace:

Text

Text with leading whitespace:

Text

Text with trailing whitespace:

Text

Text with intermediate whitespace:

Text Text

Testcases where whitespace is two text nodes separated by comments

Leading and trailing whitespace:



Only leading whitespace:



Only trailing whitespace:



A pair of images with whitespace between only:



A pair of images with no whitespace:



Text with no whitespace:

Text

Text with leading whitespace:

Text

Text with trailing whitespace:

Text

Text with intermediate whitespace:

Text Text