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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre-expected.html

Issue 1452343002: Ignore break-word when white-space pre/nowrap is specified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre-expected.html b/third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..e76cf85b0fa781ba803e01ee0b70a9d1839ea1e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre-expected.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Tests that word-wrap is ignored for white-space: pre</title>
+ <style>
+ div {
+ width: 100px;
+ border: 1px solid black;
+ }
+ </style>
+ </head>
+ <body>
+ <div style="white-space: normal;">white-space: normal - this text should wrap</div>
+ <div style="white-space: normal;">white-space: normal - this text should wrap</div>
+ <div style="white-space: nowrap;">white-space: pre - this text should not wrap</div>
+ <div style="white-space: nowrap;">white-space: nowrap - this text should not wrap</div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698