1 This test checks that text-align-last parses properly the properties from CSS 3 Text.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Test the initial value:
7 PASS computedStyle.textAlignLast is 'auto'
10 PASS e.style.textAlignLast is 'start'
11 PASS computedStyle.textAlignLast is 'start'
14 PASS e.style.textAlignLast is 'end'
15 PASS computedStyle.textAlignLast is 'end'
18 PASS e.style.textAlignLast is 'left'
19 PASS computedStyle.textAlignLast is 'left'
22 PASS e.style.textAlignLast is 'right'
23 PASS computedStyle.textAlignLast is 'right'
26 PASS e.style.textAlignLast is 'center'
27 PASS computedStyle.textAlignLast is 'center'
30 PASS e.style.textAlignLast is 'justify'
31 PASS computedStyle.textAlignLast is 'justify'
34 PASS e.style.textAlignLast is 'auto'
35 PASS computedStyle.textAlignLast is 'auto'
37 Invalid value test - '-webkit-left':
38 PASS e.style.textAlignLast is 'auto'
39 PASS computedStyle.textAlignLast is 'auto'
41 Invalid value test - '-webkit-right':
42 PASS e.style.textAlignLast is 'auto'
43 PASS computedStyle.textAlignLast is 'auto'
45 Invalid value test - '-webkit-center':
46 PASS e.style.textAlignLast is 'auto'
47 PASS computedStyle.textAlignLast is 'auto'
49 Invalid value test - '-webkit-match-parent':
50 PASS e.style.textAlignLast is 'auto'
51 PASS computedStyle.textAlignLast is 'auto'
53 Invalid value test - '-webkit-auto':
54 PASS e.style.textAlignLast is 'auto'
55 PASS computedStyle.textAlignLast is 'auto'
57 PASS successfullyParsed is true