OLD | NEW |
1 This test checks that text-justify parses properly the properties from CSS 3 Tex
t. | 1 This test checks that text-justify parses properly the properties from CSS 3 Tex
t. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Value 'none': | 6 Value 'none': |
7 PASS element.style.textJustify is 'none' | 7 PASS element.style.textJustify is 'none' |
8 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' | |
9 PASS computedStyle.textJustify is 'none' | 8 PASS computedStyle.textJustify is 'none' |
10 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' | |
11 | 9 |
12 Value 'inter-word': | 10 Value 'inter-word': |
13 PASS element.style.textJustify is 'inter-word' | 11 PASS element.style.textJustify is 'inter-word' |
14 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inter-word' | |
15 PASS computedStyle.textJustify is 'inter-word' | 12 PASS computedStyle.textJustify is 'inter-word' |
16 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' | |
17 | 13 |
18 Value 'distribute': | 14 Value 'distribute': |
19 PASS element.style.textJustify is 'distribute' | 15 PASS element.style.textJustify is 'distribute' |
20 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
21 PASS computedStyle.textJustify is 'distribute' | 16 PASS computedStyle.textJustify is 'distribute' |
22 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
23 | 17 |
24 Presetted value is none | 18 Presetted value is none |
25 Invalid value test - 'green': | 19 Invalid value test - 'green': |
26 PASS element.style.textJustify is 'none' | 20 PASS element.style.textJustify is 'none' |
27 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' | |
28 PASS computedStyle.textJustify is 'none' | 21 PASS computedStyle.textJustify is 'none' |
29 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' | |
30 | 22 |
31 Invalid value test - 'inline': | 23 Invalid value test - 'inline': |
32 PASS element.style.textJustify is 'none' | 24 PASS element.style.textJustify is 'none' |
33 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' | |
34 PASS computedStyle.textJustify is 'none' | 25 PASS computedStyle.textJustify is 'none' |
35 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' | |
36 | 26 |
37 Presetted value is distribute | 27 Presetted value is distribute |
38 Invalid value test - 'solid': | 28 Invalid value test - 'solid': |
39 PASS element.style.textJustify is 'distribute' | 29 PASS element.style.textJustify is 'distribute' |
40 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
41 PASS computedStyle.textJustify is 'distribute' | 30 PASS computedStyle.textJustify is 'distribute' |
42 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
43 | 31 |
44 Invalid value test - 'normal': | 32 Invalid value test - 'normal': |
45 PASS element.style.textJustify is 'distribute' | 33 PASS element.style.textJustify is 'distribute' |
46 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
47 PASS computedStyle.textJustify is 'distribute' | 34 PASS computedStyle.textJustify is 'distribute' |
48 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
49 | 35 |
50 Computed value test - 'inherit': | 36 Computed value test - 'inherit': |
51 PASS element.style.textJustify is 'inherit' | 37 PASS element.style.textJustify is 'inherit' |
52 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit' | |
53 PASS computedStyle.textJustify is 'none' | 38 PASS computedStyle.textJustify is 'none' |
54 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' | |
55 | 39 |
56 Computed value test - 'inherit': | 40 Computed value test - 'inherit': |
57 PASS element.style.textJustify is 'inherit' | 41 PASS element.style.textJustify is 'inherit' |
58 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit' | |
59 PASS computedStyle.textJustify is 'distribute' | 42 PASS computedStyle.textJustify is 'distribute' |
60 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
61 | 43 |
62 Computed value test - 'initial': | 44 Computed value test - 'initial': |
63 PASS element.style.textJustify is 'initial' | 45 PASS element.style.textJustify is 'initial' |
64 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'initial' | |
65 PASS computedStyle.textJustify is 'auto' | 46 PASS computedStyle.textJustify is 'auto' |
66 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' | |
67 | 47 |
68 Value of ancestor is 'inter-word, while child is 'distribute': | 48 Value of ancestor is 'inter-word, while child is 'distribute': |
69 PASS element.style.textJustify is 'distribute' | 49 PASS element.style.textJustify is 'distribute' |
70 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
71 PASS computedStyle.textJustify is 'distribute' | 50 PASS computedStyle.textJustify is 'distribute' |
72 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' | |
73 | 51 |
74 Value of ancestor is 'none, while child is 'inter-word': | 52 Value of ancestor is 'none, while child is 'inter-word': |
75 PASS element.style.textJustify is 'inter-word' | 53 PASS element.style.textJustify is 'inter-word' |
76 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inter-word' | |
77 PASS computedStyle.textJustify is 'inter-word' | 54 PASS computedStyle.textJustify is 'inter-word' |
78 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' | |
79 | 55 |
80 PASS successfullyParsed is true | 56 PASS successfullyParsed is true |
81 | 57 |
82 TEST COMPLETE | 58 TEST COMPLETE |
83 | 59 |
OLD | NEW |