| 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(alignSelfLastBaseline, '').getPropertyValue('align-self')
is 'last-baseline' | |
| 9 PASS getComputedStyle(alignSelfStretch, '').getPropertyValue('align-self') is 's
tretch' | |
| 10 PASS getComputedStyle(alignSelfStart, '').getPropertyValue('align-self') is 'sta
rt' | |
| 11 PASS getComputedStyle(alignSelfEnd, '').getPropertyValue('align-self') is 'end' | |
| 12 PASS getComputedStyle(alignSelfCenter, '').getPropertyValue('align-self') is 'ce
nter' | |
| 13 PASS getComputedStyle(alignSelfSelfEnd, '').getPropertyValue('align-self') is 's
elf-end' | |
| 14 PASS getComputedStyle(alignSelfSelfStart, '').getPropertyValue('align-self') is
'self-start' | |
| 15 PASS getComputedStyle(alignSelfLeft, '').getPropertyValue('align-self') is 'left
' | |
| 16 PASS getComputedStyle(alignSelfRight, '').getPropertyValue('align-self') is 'rig
ht' | |
| 17 PASS getComputedStyle(alignSelfFlexStart, '').getPropertyValue('align-self') is
'flex-start' | |
| 18 PASS getComputedStyle(alignSelfFlexEnd, '').getPropertyValue('align-self') is 'f
lex-end' | |
| 19 PASS getComputedStyle(alignSelfEndUnsafe, '').getPropertyValue('align-self') is
'end unsafe' | |
| 20 PASS getComputedStyle(alignSelfCenterUnsafe, '').getPropertyValue('align-self')
is 'center unsafe' | |
| 21 PASS getComputedStyle(alignSelfSelfEndSafe, '').getPropertyValue('align-self') i
s 'self-end safe' | |
| 22 PASS getComputedStyle(alignSelfSelfStartSafe, '').getPropertyValue('align-self')
is 'self-start safe' | |
| 23 PASS getComputedStyle(alignSelfRightSafe, '').getPropertyValue('align-self') is
'right safe' | |
| 24 PASS getComputedStyle(alignSelfLeftUnsafe, '').getPropertyValue('align-self') is
'left unsafe' | |
| 25 PASS getComputedStyle(alignSelfFlexStartUnsafe, '').getPropertyValue('align-self
') is 'flex-start unsafe' | |
| 26 PASS getComputedStyle(alignSelfFlexEndSafe, '').getPropertyValue('align-self') i
s 'flex-end safe' | |
| 27 | |
| 28 Test initial value of align-self through JS | |
| 29 PASS getComputedStyle(element, '').getPropertyValue('align-self') is 'normal' | |
| 30 | |
| 31 Test getting and setting align-self through JS | |
| 32 PASS element.style.alignSelf is "center" | |
| 33 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "cen
ter" | |
| 34 PASS element.style.alignSelf is "start unsafe" | |
| 35 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "sta
rt unsafe" | |
| 36 PASS element.style.alignSelf is "flex-end safe" | |
| 37 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "fle
x-end safe" | |
| 38 PASS element.style.alignSelf is "right" | |
| 39 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "rig
ht" | |
| 40 PASS element.style.alignSelf is "center" | |
| 41 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "cen
ter" | |
| 42 PASS element.style.alignSelf is "self-start" | |
| 43 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "sel
f-start" | |
| 44 PASS element.style.alignSelf is "auto" | |
| 45 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 46 PASS element.style.alignSelf is "auto" | |
| 47 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 48 PASS element.style.alignSelf is "auto" | |
| 49 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 50 PASS element.style.alignSelf is "self-end" | |
| 51 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "sel
f-end" | |
| 52 | |
| 53 Test 'auto' value resolution for the root node | |
| 54 PASS element.style.alignSelf is "auto" | |
| 55 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 56 | |
| 57 Test bad combinations of align-self | |
| 58 PASS element.style.alignSelf is "" | |
| 59 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 60 PASS element.style.alignSelf is "" | |
| 61 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 62 PASS element.style.alignSelf is "" | |
| 63 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 64 PASS element.style.alignSelf is "" | |
| 65 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 66 PASS element.style.alignSelf is "" | |
| 67 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 68 PASS element.style.alignSelf is "" | |
| 69 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 70 PASS element.style.alignSelf is "" | |
| 71 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 72 PASS element.style.alignSelf is "" | |
| 73 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 74 PASS element.style.alignSelf is "" | |
| 75 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 76 PASS element.style.alignSelf is "" | |
| 77 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 78 PASS element.style.alignSelf is "" | |
| 79 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 80 PASS element.style.alignSelf is "" | |
| 81 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 82 PASS element.style.alignSelf is "" | |
| 83 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 84 PASS element.style.alignSelf is "" | |
| 85 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 86 PASS element.style.alignSelf is "" | |
| 87 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 88 PASS element.style.alignSelf is "" | |
| 89 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 90 PASS element.style.alignSelf is "" | |
| 91 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 92 PASS element.style.alignSelf is "" | |
| 93 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 94 PASS element.style.alignSelf is "" | |
| 95 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 96 PASS element.style.alignSelf is "" | |
| 97 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 98 PASS element.style.alignSelf is "" | |
| 99 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 100 PASS element.style.alignSelf is "" | |
| 101 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 102 PASS element.style.alignSelf is "" | |
| 103 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 104 PASS element.style.alignSelf is "" | |
| 105 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 106 | |
| 107 Test the value 'initial' | |
| 108 PASS element.style.alignSelf is "center" | |
| 109 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "cen
ter" | |
| 110 PASS element.style.alignSelf is "initial" | |
| 111 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 112 | |
| 113 Test the value 'initial' for grid containers | |
| 114 PASS element.style.alignSelf is "left safe" | |
| 115 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "lef
t safe" | |
| 116 PASS element.style.alignSelf is "initial" | |
| 117 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 118 | |
| 119 Test the value 'initial' for flex containers | |
| 120 PASS element.style.alignSelf is "right unsafe" | |
| 121 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "rig
ht unsafe" | |
| 122 PASS element.style.alignSelf is "initial" | |
| 123 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 124 | |
| 125 Test the value 'initial' for positioned elements | |
| 126 PASS element.style.alignSelf is "left" | |
| 127 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "lef
t" | |
| 128 PASS element.style.alignSelf is "initial" | |
| 129 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 130 | |
| 131 Test the value 'initial' for positioned elements in grid containers | |
| 132 PASS element.style.alignSelf is "right" | |
| 133 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "rig
ht" | |
| 134 PASS element.style.alignSelf is "initial" | |
| 135 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 136 | |
| 137 Test the value 'initial' for positioned elements in grid containers | |
| 138 PASS element.style.alignSelf is "end" | |
| 139 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "end
" | |
| 140 PASS element.style.alignSelf is "initial" | |
| 141 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "nor
mal" | |
| 142 | |
| 143 Test the value 'inherit' | |
| 144 PASS element.style.alignSelf is "end" | |
| 145 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "end
" | |
| 146 PASS element.style.alignSelf is "inherit" | |
| 147 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "end
" | |
| 148 PASS element.style.alignSelf is "left safe" | |
| 149 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "lef
t safe" | |
| 150 PASS element.style.alignSelf is "inherit" | |
| 151 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "lef
t safe" | |
| 152 PASS element.style.alignSelf is "center unsafe" | |
| 153 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "cen
ter unsafe" | |
| 154 PASS element.style.alignSelf is "inherit" | |
| 155 PASS window.getComputedStyle(element, '').getPropertyValue('align-self') is "cen
ter unsafe" | |
| 156 PASS successfullyParsed is true | |
| 157 | |
| 158 TEST COMPLETE | |
| 159 | |
| OLD | NEW |