Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / whitespace / text-align-justify-and-whitespace-pre.html
blob474040c1f0bab3fedb3a27263fdb81cb2e290481
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 <script src="../../../resources/ahem.js"></script>
13 <body>
15 <p>This tests the combination of text-align: justify with different values of white-space.</p>
17 <h4>white-space: pre-wrap</h4>
18 <div style="white-space: pre-wrap;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
19 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteur sint occaecat
20 cupidatat non proident.
21 </div>
23 <h4>white-space: pre-line</h4>
24 <div style="white-space: pre-line;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
25 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteur sint occaecat
26 cupidatat non proident.
27 </div>
29 <h4>white-space: pre</h4>
30 <div style="white-space: pre;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
31 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteur sint occaecat
32 cupidatat non proident.
33 </div>
35 </body>
36 </html>