Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / whitespace / text-align-justify-and-whitespace-pre-expected.html
blobc95b2479df7156107a6023ab1640248468dfc7b5
1 <!DOCTYPE html>
2 <html>
3 <style>
4 div {
5 text-align: justify;
6 width: 400px;
7 border: 1px solid black;
8 font-family: Ahem;
11 </style>
12 <body>
14 <p>This tests the combination of text-align: justify with different values of white-space.</p>
16 <h4>white-space: pre-wrap</h4>
17 <div>Lorem &nbsp;&nbsp;ipsum dolor sit amet, consectetur adipisicing elit, &nbsp;&nbsp;&nbsp;sed do eiusmod tempor<br>
18 incididunt ex ea commodo consequat. &nbsp;&nbsp;&nbsp;Dolore eu fugiat nulla pariatur. Excepteur sint occaecat<br>
19 cupidatat non proident.
20 </div>
22 <h4>white-space: pre-line</h4>
23 <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br>
24 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteur sint occaecat<br>
25 cupidatat non proident.
26 </div>
28 <h4>white-space: pre</h4>
29 <div style="white-space: pre; text-align: left;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
30 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteur sint occaecat
31 cupidatat non proident.
32 </div>
34 </body>
35 </html>