1 This test checks that the value of text-align-last is properly inherited to the child.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Value of ancestor is 'start':
7 PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
8 PASS window.getComputedStyle(child).textAlignLast is 'start'
10 Value of ancestor is 'end':
11 PASS window.getComputedStyle(ancestor).textAlignLast is 'end'
12 PASS window.getComputedStyle(child).textAlignLast is 'end'
14 Value of ancestor is 'left':
15 PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
16 PASS window.getComputedStyle(child).textAlignLast is 'left'
18 Value of ancestor is 'right':
19 PASS window.getComputedStyle(ancestor).textAlignLast is 'right'
20 PASS window.getComputedStyle(child).textAlignLast is 'right'
22 Value of ancestor is 'center':
23 PASS window.getComputedStyle(ancestor).textAlignLast is 'center'
24 PASS window.getComputedStyle(child).textAlignLast is 'center'
26 Value of ancestor is 'justify':
27 PASS window.getComputedStyle(ancestor).textAlignLast is 'justify'
28 PASS window.getComputedStyle(child).textAlignLast is 'justify'
30 Value of ancestor is 'auto':
31 PASS window.getComputedStyle(ancestor).textAlignLast is 'auto'
32 PASS window.getComputedStyle(child).textAlignLast is 'auto'
34 Value of ancestor is 'start, while child is 'end':
35 PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
36 PASS window.getComputedStyle(child).textAlignLast is 'end'
38 Value of ancestor is 'left, while child is 'right':
39 PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
40 PASS window.getComputedStyle(child).textAlignLast is 'right'
42 PASS successfullyParsed is true