summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-left-expected.html
blob: 34d98a3b0c260d545a3bb7dabb5a2d79afea1edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE HTML>
<html>
<head>
    <link href="text-align-last.css" rel="stylesheet" type="text/css">
</head>
<body>
<div>
text-align-last: left <br><br>

This test checks that text-align-last property works properly.<br>
The last line of each case should be aligned to <b>left</b> side.<br>
</div>

<div dir="ltr" class='testDiv alignStart'>
    <p class='testP'>LTR align is start</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

<div dir="ltr" class='testDiv alignEnd'>
    <p class='testP'>LTR align is end</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

<div dir="ltr" class='testDiv alignRight'>
    <p class='testP'>LTR align is right</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

<div dir="ltr" class='testDiv alignLeft'>
    <p class='testP'>LTR align is left</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

<div dir="rtl" class='testDiv alignStart'>
    <p class='testP'>RTL align is start</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

<div dir="rtl" class='testDiv alignEnd'>
    <p class='testP'>RTL align is end</p>
    <p class='testP alignLeft'>align-last is left.</p>
</div>

</body>
</html>