1 This test checks that text-justify parses properly the properties from CSS 3 Text.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS element.style.textJustify is 'none'
8 PASS computedStyle.textJustify is 'none'
11 PASS element.style.textJustify is 'inter-word'
12 PASS computedStyle.textJustify is 'inter-word'
15 PASS element.style.textJustify is 'distribute'
16 PASS computedStyle.textJustify is 'distribute'
18 Presetted value is none
19 Invalid value test - 'green':
20 PASS element.style.textJustify is 'none'
21 PASS computedStyle.textJustify is 'none'
23 Invalid value test - 'inline':
24 PASS element.style.textJustify is 'none'
25 PASS computedStyle.textJustify is 'none'
27 Presetted value is distribute
28 Invalid value test - 'solid':
29 PASS element.style.textJustify is 'distribute'
30 PASS computedStyle.textJustify is 'distribute'
32 Invalid value test - 'normal':
33 PASS element.style.textJustify is 'distribute'
34 PASS computedStyle.textJustify is 'distribute'
36 Computed value test - 'inherit':
37 PASS element.style.textJustify is 'inherit'
38 PASS computedStyle.textJustify is 'none'
40 Computed value test - 'inherit':
41 PASS element.style.textJustify is 'inherit'
42 PASS computedStyle.textJustify is 'distribute'
44 Computed value test - 'initial':
45 PASS element.style.textJustify is 'initial'
46 PASS computedStyle.textJustify is 'auto'
48 Value of ancestor is 'inter-word, while child is 'distribute':
49 PASS element.style.textJustify is 'distribute'
50 PASS computedStyle.textJustify is 'distribute'
52 Value of ancestor is 'none, while child is 'inter-word':
53 PASS element.style.textJustify is 'inter-word'
54 PASS computedStyle.textJustify is 'inter-word'
56 PASS successfullyParsed is true