Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html

Issue 17434006: Breaking whitespace in a white-space:pre-wrap should never go on the new line. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review feedback Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html
diff --git a/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html b/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..f0f258570b75cc825c9576a610f7e04bbdb3b09e
--- /dev/null
+++ b/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<div>Tests that breaking whitespace is at the end of the current line instead of the beginning of the next line.</div>
+
+<div style="width: 25px; display: inline-block; white-space: pre; border: 5px solid salmon"><span>foo</span><br><span>bar</span></div>

Powered by Google App Engine
This is Rietveld 408576698