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: third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre.html

Issue 2790263002: Deflake text-align-justify-and-whitespace-pre.html (Closed)
Patch Set: Rebase w/HEAD Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 @font-face {
5 font-family: Ahem;
6 src: url('../../../resources/Ahem.woff2') format('woff2');
7 }
4 div { 8 div {
5 text-align: justify; 9 text-align: justify;
6 width: 400px; 10 width: 400px;
7 border: 1px solid black; 11 border: 1px solid black;
8 font-family: Ahem; 12 font-family: Ahem;
9 } 13 }
10
11 </style> 14 </style>
12 <script src="../../../resources/ahem.js"></script>
13 <body> 15 <body>
14 16
15 <p>This tests the combination of text-align: justify with different values of wh ite-space.</p> 17 <p>This tests the combination of text-align: justify with different values of wh ite-space.</p>
16 18
17 <h4>white-space: pre-wrap</h4> 19 <h4>white-space: pre-wrap</h4>
18 <div style="white-space: pre-wrap;">Lorem ipsum dolor sit amet, consectetur ad ipisicing elit, sed do eiusmod tempor 20 <div style="white-space: pre-wrap;">Lorem ipsum dolor sit amet, consectetur ad ipisicing elit, sed do eiusmod tempor
19 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat 21 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat
20 cupidatat non proident. 22 cupidatat non proident.
21 </div> 23 </div>
22 24
23 <h4>white-space: pre-line</h4> 25 <h4>white-space: pre-line</h4>
24 <div style="white-space: pre-line;">Lorem ipsum dolor sit amet, consectetur ad ipisicing elit, sed do eiusmod tempor 26 <div style="white-space: pre-line;">Lorem ipsum dolor sit amet, consectetur ad ipisicing elit, sed do eiusmod tempor
25 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat 27 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat
26 cupidatat non proident. 28 cupidatat non proident.
27 </div> 29 </div>
28 30
29 <h4>white-space: pre</h4> 31 <h4>white-space: pre</h4>
30 <div style="white-space: pre;">Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor 32 <div style="white-space: pre;">Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor
31 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat 33 incididunt ex ea commodo consequat. Dolore eu fugiat nulla pariatur. Excepteu r sint occaecat
32 cupidatat non proident. 34 cupidatat non proident.
33 </div> 35 </div>
34 36
37 <script>
38 if (window.testRunner) {
39 testRunner.waitUntilDone();
40 window.onload = function () {
41 document.fonts.ready.then(function () { testRunner.notifyDone(); });
42 };
43 }
44 </script>
35 </body> 45 </body>
36 </html> 46 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/text-align-justify-and-whitespace-pre-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698