OLD | NEW |
(Empty) | |
| 1 This test checks that text-justify parses properly the properties from CSS 3 Tex
t. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Test the initial value: |
| 7 PASS computedStyle.textJustify is 'auto' |
| 8 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 9 |
| 10 Value 'auto': |
| 11 PASS e.style.textJustify is 'auto' |
| 12 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 13 PASS computedStyle.textJustify is 'auto' |
| 14 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 15 |
| 16 Value 'none': |
| 17 PASS e.style.textJustify is 'none' |
| 18 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'none' |
| 19 PASS computedStyle.textJustify is 'none' |
| 20 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
| 21 |
| 22 Value 'inter-word': |
| 23 PASS e.style.textJustify is 'inter-word' |
| 24 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
| 25 PASS computedStyle.textJustify is 'inter-word' |
| 26 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
| 27 |
| 28 Value 'distribute': |
| 29 PASS e.style.textJustify is 'distribute' |
| 30 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 31 PASS computedStyle.textJustify is 'distribute' |
| 32 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 33 |
| 34 Invalid value test - '-webkit-left': |
| 35 PASS e.style.textJustify is 'auto' |
| 36 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 37 PASS computedStyle.textJustify is 'auto' |
| 38 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 39 |
| 40 Invalid value test - '-webkit-right': |
| 41 PASS e.style.textJustify is 'auto' |
| 42 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 43 PASS computedStyle.textJustify is 'auto' |
| 44 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 45 |
| 46 Invalid value test - '-webkit-center': |
| 47 PASS e.style.textJustify is 'auto' |
| 48 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 49 PASS computedStyle.textJustify is 'auto' |
| 50 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 51 |
| 52 Invalid value test - '-webkit-match-parent': |
| 53 PASS e.style.textJustify is 'auto' |
| 54 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 55 PASS computedStyle.textJustify is 'auto' |
| 56 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 57 |
| 58 Invalid value test - '-webkit-auto': |
| 59 PASS e.style.textJustify is 'auto' |
| 60 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 61 PASS computedStyle.textJustify is 'auto' |
| 62 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 63 |
| 64 Invalid value test - 'solid': |
| 65 PASS e.style.textJustify is 'auto' |
| 66 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 67 PASS computedStyle.textJustify is 'auto' |
| 68 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 69 |
| 70 Invalid value test - 'normal': |
| 71 PASS e.style.textJustify is 'auto' |
| 72 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 73 PASS computedStyle.textJustify is 'auto' |
| 74 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 75 |
| 76 Invalid value test - 'bold': |
| 77 PASS e.style.textJustify is 'auto' |
| 78 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 79 PASS computedStyle.textJustify is 'auto' |
| 80 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 81 |
| 82 Invalid value test - 'background': |
| 83 PASS e.style.textJustify is 'auto' |
| 84 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 85 PASS computedStyle.textJustify is 'auto' |
| 86 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 87 |
| 88 Invalid value test - 'ltr': |
| 89 PASS e.style.textJustify is 'auto' |
| 90 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 91 PASS computedStyle.textJustify is 'auto' |
| 92 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 93 |
| 94 Computed value test - 'inherit': |
| 95 PASS e.style.textJustify is 'inherit' |
| 96 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'inherit' |
| 97 PASS computedStyle.textJustify is 'auto' |
| 98 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 99 |
| 100 Computed value test - 'initial': |
| 101 PASS e.style.textJustify is 'initial' |
| 102 PASS e.style.getPropertyCSSValue('text-justify').cssText is 'initial' |
| 103 PASS computedStyle.textJustify is 'auto' |
| 104 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 105 |
| 106 PASS successfullyParsed is true |
| 107 |
| 108 TEST COMPLETE |
| 109 hello world |
OLD | NEW |