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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/whitespace-in-pre-expected.html

Issue 1527113004: Remove unnecessary state for tracking whitespace collapsing in pre's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@567080-Part2-2
Patch Set: Updated Created 5 years 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 <style>
3 body {
4 font: 10px Ahem;
5 }
6 .title {
7 font: 12px Times;
8 }
9 </style>
10 <p class="title"> The single tab should be on the second line followed by the C. The tab and the C form a single word so do not break.</p>
11 <div>
12 <p class="test">A B<br><span style="white-space:pre"> </span>C</p>
13 </div>
14 <p class="title"> The two tabs should be at the start of the second line. The 'p re' and the C form a single word so do not break. </p>
15 <div>
16 <p class="test">A B<br><span style="white-space:pre"> </span>C </p>
17 </div>
18 <p class="title"> The two tabs should fit on the first line. The line can break at the space before the C.</p>
19 <div>
20 <p class="test">A B<span style="white-space:pre"> </span><br>C</p>
21 </div>
22
23 <p class="title"> The single tab should be on the second line by itself. The div allows breaking within words so the word formed by the tab and the C can be spl it.</p>
24 <div>
25 <p class="test">A B<br><span style="white-space:pre"> </span><br>C</p>
26 </div>
27 <p class="title"> The two tabs should be on the second line by themselves. The d iv allows breaking within words but it cannot split the two tabs inside a pre.</ p>
28 <div>
29 <p class="test">A B<br><span style="white-space:pre"> </span>< br>C</p>
30 </div>
31 <p class="title"> The two tabs should fit on the first line. The div allows bre aking within words but it cannot split the two tabs inside a pre. The line can b reak at the space before the C.</p>
32 <div>
33 <p class="test">A B<span style="white-space:pre"> </span><br>C</p>
34 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698