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 Value 'none': |
| 7 PASS element.style.textJustify is 'none' |
| 8 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' |
| 9 PASS computedStyle.textJustify is 'none' |
| 10 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
| 11 |
| 12 Value 'inter-word': |
| 13 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' |
| 16 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
| 17 |
| 18 Value 'distribute': |
| 19 PASS element.style.textJustify is 'distribute' |
| 20 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 21 PASS computedStyle.textJustify is 'distribute' |
| 22 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 23 |
| 24 Presetted value is none |
| 25 Invalid value test - 'green': |
| 26 PASS element.style.textJustify is 'none' |
| 27 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' |
| 28 PASS computedStyle.textJustify is 'none' |
| 29 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
| 30 |
| 31 Invalid value test - 'inline': |
| 32 PASS element.style.textJustify is 'none' |
| 33 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none' |
| 34 PASS computedStyle.textJustify is 'none' |
| 35 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
| 36 |
| 37 Presetted value is distribute |
| 38 Invalid value test - 'solid': |
| 39 PASS element.style.textJustify is 'distribute' |
| 40 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 41 PASS computedStyle.textJustify is 'distribute' |
| 42 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 43 |
| 44 Invalid value test - 'normal': |
| 45 PASS element.style.textJustify is 'distribute' |
| 46 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 47 PASS computedStyle.textJustify is 'distribute' |
| 48 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 49 |
| 50 Computed value test - 'inherit': |
| 51 PASS element.style.textJustify is 'inherit' |
| 52 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit' |
| 53 PASS computedStyle.textJustify is 'none' |
| 54 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none' |
| 55 |
| 56 Computed value test - 'inherit': |
| 57 PASS element.style.textJustify is 'inherit' |
| 58 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit' |
| 59 PASS computedStyle.textJustify is 'distribute' |
| 60 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 61 |
| 62 Computed value test - 'initial': |
| 63 PASS element.style.textJustify is 'initial' |
| 64 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'initial' |
| 65 PASS computedStyle.textJustify is 'auto' |
| 66 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto' |
| 67 |
| 68 Value of ancestor is 'inter-word, while child is 'distribute': |
| 69 PASS element.style.textJustify is 'distribute' |
| 70 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 71 PASS computedStyle.textJustify is 'distribute' |
| 72 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute' |
| 73 |
| 74 Value of ancestor is 'none, while child is 'inter-word': |
| 75 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' |
| 78 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word' |
| 79 |
| 80 PASS successfullyParsed is true |
| 81 |
| 82 TEST COMPLETE |
| 83 |
OLD | NEW |