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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-align-last/text-align-last.html

Issue 750863003: text-align-last is no longer depend on text-justify (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-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 <head> 3 <head>
4 <style> 4 <style>
5 .testDiv { 5 .testDiv {
6 width: 208px; 6 width: 208px;
7 border: 1px solid #000000; 7 border: 1px solid #000000;
8 font-family: Ahem, monospace; 8 font-family: Ahem, monospace;
9 font-size: 1em; 9 font-size: 1em;
10 } 10 }
11 </style> 11 </style>
12 </head> 12 </head>
13 <body> 13 <body>
14 <div> 14 <div>
15 When text-align is justify, the last line would be affected by the value of text -align-last.<br/>
16 This test checks that text-align-last property works properly.<br/> 15 This test checks that text-align-last property works properly.<br/>
17 </div> 16 </div>
18
19 <div class='testDiv' style='text-align:justify; text-align-last:start'>start las t</div>
20
21 <div class='testDiv' style='text-align:justify; text-align-last:end'>end last</d iv>
22
23 <div class='testDiv' style='text-align:justify; text-align-last:left'>left last< /div>
24
25 <div class='testDiv' style='text-align:justify; text-align-last:right'>right las t</div>
26
27 <div class='testDiv' style='text-align:justify; text-align-last:center'>center l ast</div>
28
29 <div class='testDiv' style='text-align:justify; text-align-last:justify'>justify last</div>
30
31 <div class='testDiv' style='text-align:start; text-align-last:end'>start end</di v> 17 <div class='testDiv' style='text-align:start; text-align-last:end'>start end</di v>
32 18
33 <div class='testDiv' style='text-align:end; text-align-last:start'>end start</di v> 19 <div class='testDiv' style='text-align:end; text-align-last:start'>end start</di v>
34 20
35 <div class='testDiv' style='text-align:left; text-align-last:right'>left right</ div> 21 <div class='testDiv' style='text-align:left; text-align-last:right'>left right</ div>
36 22
37 <div class='testDiv' style='text-align:right; text-align-last:left'>right left</ div> 23 <div class='testDiv' style='text-align:right; text-align-last:left'>right left</ div>
38 24
39 <div class='testDiv' style='text-align:center; text-align-last:left'>center left </div> 25 <div class='testDiv' style='text-align:center; text-align-last:left'>center left </div>
26
27 <div class='testDiv' style='text-align:start; text-align-last:auto'>start auto</ div>
28
29 <div class='testDiv' style='text-align:end; text-align-last:auto'>end auto</div>
30
31 <div class='testDiv' style='text-align:left; text-align-last:auto'>left auto</di v>
32
33 <div class='testDiv' style='text-align:right; text-align-last:auto'>right auto</ div>
34
35 <div class='testDiv' style='text-align:center; text-align-last:auto'>center auto </div>
36
37 <div class='testDiv' style='text-align:justify; text-align-last:auto'>justify au to</div>
38
39 <div class='testDiv' style='text-align:auto; text-align-last:justify'>auto justi fy</div>
40 </body> 40 </body>
41 </html> 41 </html>
42 42
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698