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

Side by Side Diff: LayoutTests/fast/text/whitespace/nowrap-white-space-collapse-expected.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 .pre { 11 .pre {
12 white-space: pre; 12 white-space: pre;
13 } 13 }
14 </style> 14 </style>
15 This test passes if there is a horizontal green line below. It tests that: 15 This test passes if there is a horizontal green line below. It tests that:
16 <ul> 16 <ul>
17 <li>a block setting white-space:pre does not affect the whitespace-collapsing 17 <li>a block setting white-space:pre does not affect the whitespace-collapsing
18 behavior of an inline setting white-space:nowrap</li> 18 behavior of an inline setting white-space:nowrap</li>
19 <li>an inline setting white-space:normal or nowrap does not allow wrapping 19 <li>an inline setting white-space:normal or nowrap does not allow wrapping
20 when nested in a block that sets white-space:pre</li> 20 when nested in a block that sets white-space:pre</li>
21 </ul> 21 </ul>
22 <div class="test pre"><span>x xx</span></div> 22 <div class="test pre"><span>x xx</span></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698