OLD | NEW |
(Empty) | |
| 1 Test that setting and getting align-self works as expected |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Test getting align-self set through CSS |
| 7 PASS getComputedStyle(alignSelfBaseline, '').getPropertyValue('align-self') is '
baseline' |
| 8 PASS getComputedStyle(alignSelfStretch, '').getPropertyValue('align-self') is 's
tretch' |
| 9 PASS getComputedStyle(alignSelfStart, '').getPropertyValue('align-self') is 'sta
rt' |
| 10 PASS getComputedStyle(alignSelfEnd, '').getPropertyValue('align-self') is 'end' |
| 11 PASS getComputedStyle(alignSelfCenter, '').getPropertyValue('align-self') is 'ce
nter' |
| 12 PASS getComputedStyle(alignSelfSelfEnd, '').getPropertyValue('align-self') is 's
elf-end' |
| 13 PASS getComputedStyle(alignSelfSelfStart, '').getPropertyValue('align-self') is
'self-start' |
| 14 PASS getComputedStyle(alignSelfLeft, '').getPropertyValue('align-self') is 'left
' |
| 15 PASS getComputedStyle(alignSelfRight, '').getPropertyValue('align-self') is 'rig
ht' |
| 16 PASS getComputedStyle(alignSelfEndTrue, '').getPropertyValue('align-self') is 'e
nd true' |
| 17 PASS getComputedStyle(alignSelfCenterTrue, '').getPropertyValue('align-self') is
'center true' |
| 18 PASS getComputedStyle(alignSelfSelfEndSafe, '').getPropertyValue('align-self') i
s 'self-end safe' |
| 19 PASS getComputedStyle(alignSelfSelfStartSafe, '').getPropertyValue('align-self')
is 'self-start safe' |
| 20 PASS getComputedStyle(alignSelfRightSafe, '').getPropertyValue('align-self') is
'right safe' |
| 21 PASS getComputedStyle(alignSelfLeftTrue, '').getPropertyValue('align-self') is '
left true' |
| 22 |
| 23 Test initial value of align-self through JS |
| 24 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 25 |
| 26 Test getting and setting align-self through JS |
| 27 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'center' |
| 28 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'start true
' |
| 29 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 30 |
| 31 Test bad combinaisons of align-self |
| 32 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 33 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 34 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 35 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 36 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 37 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 38 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 39 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 40 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 41 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 42 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 43 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 44 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 45 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 46 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 47 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 48 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 49 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 50 |
| 51 Test the value 'initial' |
| 52 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'center' |
| 53 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'stretch' |
| 54 |
| 55 Test the value 'inherit' |
| 56 PASS getComputedStyle(parentElement, '').getPropertyValue('align-self') is 'end' |
| 57 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'end' |
| 58 PASS successfullyParsed is true |
| 59 |
| 60 TEST COMPLETE |
| 61 |
OLD | NEW |