summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html
blob: 3c8ba2e580ada15ac390743b0bd5eb90f2138d60 (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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
    width: 208px;
    border: 1px solid #000000;
    font-family: Ahem, monospace;
    font-size: 1em;
}
</style>
</head>
<body>
<div>
This test checks that text-align-last property works properly.<br/>
</div>
<div class="test" style="text-align: end">start end</div>

<div class="test" style="text-align: start">end start</div>

<div class="test" style="text-align: right">left right</div>

<div class="test" style="text-align: left">right left</div>

<div class="test" style="text-align: left">center left</div>

<div class="test" style="text-align: start">start auto</div>

<div class="test" style="text-align: end">end auto</div>

<div class="test" style="text-align: left">left auto</div>

<div class="test" style="text-align: right">right auto</div>

<div class="test" style="text-align: center">center auto</div>

<div class="test" style="text-align: start">justify auto</div>

<div class="test" style="text-align: start">auto&nbsp; justify</div>
</body>
</html>