OLD | NEW |
| (Empty) |
1 This test checks that -webkit-text-align-last parses properly the properties fro
m CSS 3 Text. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Test the initial value: | |
7 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
8 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
9 | |
10 Value 'start': | |
11 PASS e.style.webkitTextAlignLast is 'start' | |
12 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be st
art. Threw exception TypeError: Cannot read property 'cssText' of null | |
13 FAIL computedStyle.webkitTextAlignLast should be start (of type string). Was und
efined (of type undefined). | |
14 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be start. Threw exception TypeError: Cannot read property 'cssText' of null | |
15 | |
16 Value 'end': | |
17 PASS e.style.webkitTextAlignLast is 'end' | |
18 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be en
d. Threw exception TypeError: Cannot read property 'cssText' of null | |
19 FAIL computedStyle.webkitTextAlignLast should be end (of type string). Was undef
ined (of type undefined). | |
20 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be end. Threw exception TypeError: Cannot read property 'cssText' of null | |
21 | |
22 Value 'left': | |
23 PASS e.style.webkitTextAlignLast is 'left' | |
24 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be le
ft. Threw exception TypeError: Cannot read property 'cssText' of null | |
25 FAIL computedStyle.webkitTextAlignLast should be left (of type string). Was unde
fined (of type undefined). | |
26 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be left. Threw exception TypeError: Cannot read property 'cssText' of null | |
27 | |
28 Value 'right': | |
29 PASS e.style.webkitTextAlignLast is 'right' | |
30 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be ri
ght. Threw exception TypeError: Cannot read property 'cssText' of null | |
31 FAIL computedStyle.webkitTextAlignLast should be right (of type string). Was und
efined (of type undefined). | |
32 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be right. Threw exception TypeError: Cannot read property 'cssText' of null | |
33 | |
34 Value 'center': | |
35 PASS e.style.webkitTextAlignLast is 'center' | |
36 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be ce
nter. Threw exception TypeError: Cannot read property 'cssText' of null | |
37 FAIL computedStyle.webkitTextAlignLast should be center (of type string). Was un
defined (of type undefined). | |
38 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be center. Threw exception TypeError: Cannot read property 'cssText' of null | |
39 | |
40 Value 'justify': | |
41 PASS e.style.webkitTextAlignLast is 'justify' | |
42 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be ju
stify. Threw exception TypeError: Cannot read property 'cssText' of null | |
43 FAIL computedStyle.webkitTextAlignLast should be justify (of type string). Was u
ndefined (of type undefined). | |
44 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be justify. Threw exception TypeError: Cannot read property 'cssText' of null | |
45 | |
46 Value 'auto': | |
47 PASS e.style.webkitTextAlignLast is 'auto' | |
48 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
49 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
50 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
51 | |
52 Invalid value test - '-webkit-left': | |
53 FAIL e.style.webkitTextAlignLast should be auto. Was -webkit-left. | |
54 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
55 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
56 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
57 | |
58 Invalid value test - '-webkit-right': | |
59 FAIL e.style.webkitTextAlignLast should be auto. Was -webkit-right. | |
60 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
61 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
62 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
63 | |
64 Invalid value test - '-webkit-center': | |
65 FAIL e.style.webkitTextAlignLast should be auto. Was -webkit-center. | |
66 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
67 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
68 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
69 | |
70 Invalid value test - '-webkit-match-parent': | |
71 FAIL e.style.webkitTextAlignLast should be auto. Was -webkit-match-parent. | |
72 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
73 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
74 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
75 | |
76 Invalid value test - '-webkit-auto': | |
77 FAIL e.style.webkitTextAlignLast should be auto. Was -webkit-auto. | |
78 FAIL e.style.getPropertyCSSValue('-webkit-text-align-last').cssText should be au
to. Threw exception TypeError: Cannot read property 'cssText' of null | |
79 FAIL computedStyle.webkitTextAlignLast should be auto (of type string). Was unde
fined (of type undefined). | |
80 FAIL computedStyle.getPropertyCSSValue('-webkit-text-align-last').cssText should
be auto. Threw exception TypeError: Cannot read property 'cssText' of null | |
81 | |
82 PASS successfullyParsed is true | |
83 | |
84 TEST COMPLETE | |
85 hello world | |
OLD | NEW |