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

Unified Diff: LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line.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
« no previous file with comments | « no previous file | LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line.html
diff --git a/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line.html b/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..a7186ca00b8888a36402ccfc2a7f41b2f1dcd259
--- /dev/null
+++ b/LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line.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-wrap; border: 5px solid salmon"><span>foo</span> <span>bar</span></div>
« no previous file with comments | « no previous file | LayoutTests/fast/text/whitespace/pre-wrap-no-space-at-start-of-line-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698