blob: 7def1a0fc502ccd6e7e1d8fe894b4c7955665bad (
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
|
This test checks that the value of text-align-last is properly inherited to the child.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Value of ancestor is 'start':
PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
PASS window.getComputedStyle(child).textAlignLast is 'start'
Value of ancestor is 'end':
PASS window.getComputedStyle(ancestor).textAlignLast is 'end'
PASS window.getComputedStyle(child).textAlignLast is 'end'
Value of ancestor is 'left':
PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
PASS window.getComputedStyle(child).textAlignLast is 'left'
Value of ancestor is 'right':
PASS window.getComputedStyle(ancestor).textAlignLast is 'right'
PASS window.getComputedStyle(child).textAlignLast is 'right'
Value of ancestor is 'center':
PASS window.getComputedStyle(ancestor).textAlignLast is 'center'
PASS window.getComputedStyle(child).textAlignLast is 'center'
Value of ancestor is 'justify':
PASS window.getComputedStyle(ancestor).textAlignLast is 'justify'
PASS window.getComputedStyle(child).textAlignLast is 'justify'
Value of ancestor is 'auto':
PASS window.getComputedStyle(ancestor).textAlignLast is 'auto'
PASS window.getComputedStyle(child).textAlignLast is 'auto'
Value of ancestor is 'start, while child is 'end':
PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
PASS window.getComputedStyle(child).textAlignLast is 'end'
Value of ancestor is 'left, while child is 'right':
PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
PASS window.getComputedStyle(child).textAlignLast is 'right'
PASS successfullyParsed is true
TEST COMPLETE
hello world
|