Index: third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre-expected.html |
diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre-expected.html b/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f152e99ed73606b844040b2b9d1a6b3be95b0362 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre-expected.html |
@@ -0,0 +1,34 @@ |
+<!DOCTYPE html> |
+<style> |
+body { |
+ font: 10px Ahem; |
+} |
+.title { |
+ font: 12px Times; |
+} |
+</style> |
+<p class="title"> The single tab should be on the second line followed by the C. The tab and the C form a single word so do not break.</p> |
+<div> |
+ <p class="test">A B<br><span style="white-space:pre"> </span>C</p> |
+</div> |
+<p class="title"> The two tabs should be at the start of the second line. The 'pre' and the C form a single word so do not break. </p> |
+<div> |
+ <p class="test">A B<br><span style="white-space:pre"> </span>C</p> |
+</div> |
+<p class="title"> The two tabs should fit on the first line. The line can break at the space before the C.</p> |
+<div> |
+ <p class="test">A B<span style="white-space:pre"> </span><br>C</p> |
+</div> |
+ |
+<p class="title"> The single tab should be on the second line by itself. The div allows breaking within words so the word formed by the tab and the C can be split.</p> |
+<div> |
+ <p class="test">A B<br><span style="white-space:pre"> </span><br>C</p> |
+</div> |
+<p class="title"> The two tabs should be on the second line by themselves. The div allows breaking within words but it cannot split the two tabs inside a pre.</p> |
+<div> |
+ <p class="test">A B<br><span style="white-space:pre"> </span><br>C</p> |
+</div> |
+<p class="title"> The two tabs should fit on the first line. The div allows breaking within words but it cannot split the two tabs inside a pre. The line can break at the space before the C.</p> |
+<div> |
+ <p class="test">A B<span style="white-space:pre"> </span><br>C</p> |
+</div> |