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

Side by Side Diff: LayoutTests/fast/text/whitespace/nowrap-white-space-collapse.html

Issue 11820059: Merge 138654 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 7 years, 11 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 div { 3 div {
4 font: 1em/1 Ahem; 4 font: 1em/1 Ahem;
5 width: 1em; 5 width: 1em;
6 } 6 }
7 span { 7 span {
8 color: lime; 8 color: lime;
9 background: lime; 9 background: lime;
10 } 10 }
11 .normal { 11 .normal {
12 white-space: normal; 12 white-space: normal;
13 } 13 }
14 .nowrap { 14 .nowrap {
15 white-space: nowrap; 15 white-space: nowrap;
16 } 16 }
17 .pre { 17 .pre {
18 white-space: pre; 18 white-space: pre;
19 } 19 }
20 </style> 20 </style>
21 This test passes if there is a horizontal green line below. It tests that: 21 This test passes if there is a horizontal green line below. It tests that:
22 <ul> 22 <ul>
23 <li>a block setting white-space:pre does not affect the whitespace-collapsing 23 <li>a block setting white-space:pre does not affect the whitespace-collapsing
24 behavior of an inline setting white-space:nowrap</li> 24 behavior of an inline setting white-space:nowrap</li>
25 <li>an inline setting white-space:normal or nowrap does not allow wrapping 25 <li>an inline setting white-space:normal or nowrap does not allow wrapping
26 when nested in a block that sets white-space:pre</li> 26 when nested in a block that sets white-space:pre</li>
27 </ul> 27 </ul>
28 <div class="test pre"><span class="nowrap foo">x </span><span class="normal">xx< /span></div> 28 <div class="test pre"><span class="nowrap foo">x </span><span class="normal">xx< /span></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698