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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/word-wrap-whitespace-pre.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Tests that word-wrap is ignored for white-space: pre</title>
5 <style>
6 div {
7 word-wrap: break-word;
8 width: 100px;
9 border: 1px solid black;
10 }
11 </style>
12 </head>
13 <body>
14 <div style="white-space: normal;">white-space: normal - this text should wrap</div>
15 <div style="white-space: pre-wrap;">white-space: normal - this text shou ld wrap</div>
16 <div style="white-space: pre;">white-space: pre - this text should not w rap</div>
17 <div style="white-space: nowrap;">white-space: nowrap - this text should not wrap</div>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698