| OLD | NEW |
| 1 This test checks that text-align-last parses properly the properties from CSS 3
Text. | 1 This test checks that text-align-last parses properly the properties from CSS 3
Text. |
| 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 Test the initial value: | 6 Test the initial value: |
| 7 PASS computedStyle.textAlignLast is 'auto' | 7 PASS computedStyle.textAlignLast is 'auto' |
| 8 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 9 | 8 |
| 10 Value 'start': | 9 Value 'start': |
| 11 PASS e.style.textAlignLast is 'start' | 10 PASS e.style.textAlignLast is 'start' |
| 12 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'start' | |
| 13 PASS computedStyle.textAlignLast is 'start' | 11 PASS computedStyle.textAlignLast is 'start' |
| 14 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'start' | |
| 15 | 12 |
| 16 Value 'end': | 13 Value 'end': |
| 17 PASS e.style.textAlignLast is 'end' | 14 PASS e.style.textAlignLast is 'end' |
| 18 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'end' | |
| 19 PASS computedStyle.textAlignLast is 'end' | 15 PASS computedStyle.textAlignLast is 'end' |
| 20 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'end' | |
| 21 | 16 |
| 22 Value 'left': | 17 Value 'left': |
| 23 PASS e.style.textAlignLast is 'left' | 18 PASS e.style.textAlignLast is 'left' |
| 24 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'left' | |
| 25 PASS computedStyle.textAlignLast is 'left' | 19 PASS computedStyle.textAlignLast is 'left' |
| 26 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'left' | |
| 27 | 20 |
| 28 Value 'right': | 21 Value 'right': |
| 29 PASS e.style.textAlignLast is 'right' | 22 PASS e.style.textAlignLast is 'right' |
| 30 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'right' | |
| 31 PASS computedStyle.textAlignLast is 'right' | 23 PASS computedStyle.textAlignLast is 'right' |
| 32 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'right' | |
| 33 | 24 |
| 34 Value 'center': | 25 Value 'center': |
| 35 PASS e.style.textAlignLast is 'center' | 26 PASS e.style.textAlignLast is 'center' |
| 36 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'center' | |
| 37 PASS computedStyle.textAlignLast is 'center' | 27 PASS computedStyle.textAlignLast is 'center' |
| 38 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'center' | |
| 39 | 28 |
| 40 Value 'justify': | 29 Value 'justify': |
| 41 PASS e.style.textAlignLast is 'justify' | 30 PASS e.style.textAlignLast is 'justify' |
| 42 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'justify' | |
| 43 PASS computedStyle.textAlignLast is 'justify' | 31 PASS computedStyle.textAlignLast is 'justify' |
| 44 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'justify' | |
| 45 | 32 |
| 46 Value 'auto': | 33 Value 'auto': |
| 47 PASS e.style.textAlignLast is 'auto' | 34 PASS e.style.textAlignLast is 'auto' |
| 48 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 49 PASS computedStyle.textAlignLast is 'auto' | 35 PASS computedStyle.textAlignLast is 'auto' |
| 50 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 51 | 36 |
| 52 Invalid value test - '-webkit-left': | 37 Invalid value test - '-webkit-left': |
| 53 PASS e.style.textAlignLast is 'auto' | 38 PASS e.style.textAlignLast is 'auto' |
| 54 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 55 PASS computedStyle.textAlignLast is 'auto' | 39 PASS computedStyle.textAlignLast is 'auto' |
| 56 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 57 | 40 |
| 58 Invalid value test - '-webkit-right': | 41 Invalid value test - '-webkit-right': |
| 59 PASS e.style.textAlignLast is 'auto' | 42 PASS e.style.textAlignLast is 'auto' |
| 60 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 61 PASS computedStyle.textAlignLast is 'auto' | 43 PASS computedStyle.textAlignLast is 'auto' |
| 62 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 63 | 44 |
| 64 Invalid value test - '-webkit-center': | 45 Invalid value test - '-webkit-center': |
| 65 PASS e.style.textAlignLast is 'auto' | 46 PASS e.style.textAlignLast is 'auto' |
| 66 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 67 PASS computedStyle.textAlignLast is 'auto' | 47 PASS computedStyle.textAlignLast is 'auto' |
| 68 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 69 | 48 |
| 70 Invalid value test - '-webkit-match-parent': | 49 Invalid value test - '-webkit-match-parent': |
| 71 PASS e.style.textAlignLast is 'auto' | 50 PASS e.style.textAlignLast is 'auto' |
| 72 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 73 PASS computedStyle.textAlignLast is 'auto' | 51 PASS computedStyle.textAlignLast is 'auto' |
| 74 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 75 | 52 |
| 76 Invalid value test - '-webkit-auto': | 53 Invalid value test - '-webkit-auto': |
| 77 PASS e.style.textAlignLast is 'auto' | 54 PASS e.style.textAlignLast is 'auto' |
| 78 PASS e.style.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 79 PASS computedStyle.textAlignLast is 'auto' | 55 PASS computedStyle.textAlignLast is 'auto' |
| 80 PASS computedStyle.getPropertyCSSValue('text-align-last').cssText is 'auto' | |
| 81 | 56 |
| 82 PASS successfullyParsed is true | 57 PASS successfullyParsed is true |
| 83 | 58 |
| 84 TEST COMPLETE | 59 TEST COMPLETE |
| 85 hello world | 60 hello world |
| OLD | NEW |