gecko-dev/layout/reftests/text/pre-discard-newlines-1.html

14 lines
386 B
HTML

<!DOCTYPE html>
<style>
p { font: 16px monospace; white-space: -moz-pre-discard-newlines; }
span { background-color: lime }
</style>
<p><span>a b</span></p>
<p><span>a&#xA;b</span></p>
<p><span>a &#xA; b</span></p>
<p><span>&#xA; a&#xA; b&#xA;</span></p>
<p><span>a </span></p>
<p><span>&#xA;&#xA;&#xA;</span></p>
<p><span> &#xA;&#xA;&#xA; </span></p>
<p><span>. &#xA;</span></p>