Convert layout to use Gecko's alignment style representation (#32790)

Signed-off-by: Nico Burns <nico@nicoburns.com>
Co-authored-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
Martin Robinson 2024-07-17 16:18:55 +02:00 committed by GitHub
parent a0d2b36ad8
commit 882a855b8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 177 additions and 6482 deletions

View file

@ -1,54 +0,0 @@
[parse-align-self-001.html]
[Checking align-self: auto]
expected: FAIL
[Checking align-self: normal]
expected: FAIL
[Checking align-self: stretch]
expected: FAIL
[Checking align-self: start]
expected: FAIL
[Checking align-self: end]
expected: FAIL
[Checking align-self: self-start]
expected: FAIL
[Checking align-self: self-end]
expected: FAIL
[Checking align-self: center]
expected: FAIL
[Checking align-self: flex-start]
expected: FAIL
[Checking align-self: flex-end]
expected: FAIL
[Checking align-self: baseline]
expected: FAIL
[Checking align-self: first baseline]
expected: FAIL
[Checking align-self: last baseline]
expected: FAIL
[Checking align-self: safe flex-end]
expected: FAIL
[Checking align-self: unsafe end]
expected: FAIL
[Checking align-self: safe end]
expected: FAIL
[Checking align-self: unsafe flex-start]
expected: FAIL
[Checking align-self: safe center]
expected: FAIL

View file

@ -1,21 +0,0 @@
[parse-align-self-002.html]
[Test 'initial' value when nothing is specified]
expected: FAIL
[Test align-self: 'initial']
expected: FAIL
[Test grid items align-self: 'initial']
expected: FAIL
[Test flex items align-self: 'initial']
expected: FAIL
[Test absolute positioned elements align-self: 'initial']
expected: FAIL
[Test absolute positioned grid items align-self: 'initial']
expected: FAIL
[Test absolute positioned flex items align-self: 'initial']
expected: FAIL

View file

@ -1,54 +0,0 @@
[parse-align-self-003.html]
[Checking align-self: auto]
expected: FAIL
[Checking align-self: normal]
expected: FAIL
[Checking align-self: stretch]
expected: FAIL
[Checking align-self: start]
expected: FAIL
[Checking align-self: end]
expected: FAIL
[Checking align-self: self-start]
expected: FAIL
[Checking align-self: self-end]
expected: FAIL
[Checking align-self: center]
expected: FAIL
[Checking align-self: flex-start]
expected: FAIL
[Checking align-self: flex-end]
expected: FAIL
[Checking align-self: baseline]
expected: FAIL
[Checking align-self: first baseline]
expected: FAIL
[Checking align-self: last baseline]
expected: FAIL
[Checking align-self: safe flex-end]
expected: FAIL
[Checking align-self: unsafe end]
expected: FAIL
[Checking align-self: safe end]
expected: FAIL
[Checking align-self: unsafe flex-start]
expected: FAIL
[Checking align-self: safe center]
expected: FAIL

View file

@ -1,84 +0,0 @@
[parse-align-self-004.html]
[Checking invalid combination - align-self: legacy]
expected: FAIL
[Checking invalid combination - align-self: space-around]
expected: FAIL
[Checking invalid combination - align-self: left]
expected: FAIL
[Checking invalid combination - align-self: safe right]
expected: FAIL
[Checking invalid combination - align-self: auto safe]
expected: FAIL
[Checking invalid combination - align-self: auto left]
expected: FAIL
[Checking invalid combination - align-self: normal unsafe]
expected: FAIL
[Checking invalid combination - align-self: normal stretch]
expected: FAIL
[Checking invalid combination - align-self: baseline normal]
expected: FAIL
[Checking invalid combination - align-self: baseline center]
expected: FAIL
[Checking invalid combination - align-self: first baseline center]
expected: FAIL
[Checking invalid combination - align-self: last baseline center]
expected: FAIL
[Checking invalid combination - align-self: baseline last]
expected: FAIL
[Checking invalid combination - align-self: baseline first]
expected: FAIL
[Checking invalid combination - align-self: stretch unsafe]
expected: FAIL
[Checking invalid combination - align-self: stretch right]
expected: FAIL
[Checking invalid combination - align-self: unsafe unsafe]
expected: FAIL
[Checking invalid combination - align-self: unsafe safe]
expected: FAIL
[Checking invalid combination - align-self: center start]
expected: FAIL
[Checking invalid combination - align-self: unsafe stretch]
expected: FAIL
[Checking invalid combination - align-self: safe stretch]
expected: FAIL
[Checking invalid combination - align-self: baseline safe]
expected: FAIL
[Checking invalid combination - align-self: unsafe baseline]
expected: FAIL
[Checking invalid combination - align-self: unsafe safe left]
expected: FAIL
[Checking invalid combination - align-self: unsafe left safe]
expected: FAIL
[Checking invalid combination - align-self: left safe unsafe safe]
expected: FAIL
[Checking invalid combination - align-self: start safe]
expected: FAIL
[Checking invalid combination - align-self: safe]
expected: FAIL

View file

@ -1,9 +0,0 @@
[parse-align-self-005.html]
[Test the value 'inherit' overrides current value ('end')]
expected: FAIL
[Test the value 'inherit' overrides current value ('safe start')]
expected: FAIL
[Test the value 'inherit' overrides current value ('unsafe center')]
expected: FAIL

View file

@ -1,60 +0,0 @@
[parse-justify-self-001.html]
[Checking justify-self: auto]
expected: FAIL
[Checking justify-self: normal]
expected: FAIL
[Checking justify-self: stretch]
expected: FAIL
[Checking justify-self: left]
expected: FAIL
[Checking justify-self: right]
expected: FAIL
[Checking justify-self: start]
expected: FAIL
[Checking justify-self: end]
expected: FAIL
[Checking justify-self: self-start]
expected: FAIL
[Checking justify-self: self-end]
expected: FAIL
[Checking justify-self: center]
expected: FAIL
[Checking justify-self: flex-start]
expected: FAIL
[Checking justify-self: flex-end]
expected: FAIL
[Checking justify-self: baseline]
expected: FAIL
[Checking justify-self: first baseline]
expected: FAIL
[Checking justify-self: last baseline]
expected: FAIL
[Checking justify-self: safe flex-end]
expected: FAIL
[Checking justify-self: unsafe end]
expected: FAIL
[Checking justify-self: safe end]
expected: FAIL
[Checking justify-self: unsafe flex-start]
expected: FAIL
[Checking justify-self: safe center]
expected: FAIL

View file

@ -1,21 +0,0 @@
[parse-justify-self-002.html]
[Test 'initial' value when nothing is specified]
expected: FAIL
[Test justify-self: 'initial']
expected: FAIL
[Test grid items justify-self: 'initial']
expected: FAIL
[Test flex items justify-self: 'initial']
expected: FAIL
[Test absolute positioned elements justify-self: 'initial']
expected: FAIL
[Test absolute positioned grid items justify-self: 'initial']
expected: FAIL
[Test absolute positioned flex items justify-self: 'initial']
expected: FAIL

View file

@ -1,60 +0,0 @@
[parse-justify-self-003.html]
[Checking justify-self: auto]
expected: FAIL
[Checking justify-self: normal]
expected: FAIL
[Checking justify-self: stretch]
expected: FAIL
[Checking justify-self: left]
expected: FAIL
[Checking justify-self: right]
expected: FAIL
[Checking justify-self: start]
expected: FAIL
[Checking justify-self: end]
expected: FAIL
[Checking justify-self: self-start]
expected: FAIL
[Checking justify-self: self-end]
expected: FAIL
[Checking justify-self: center]
expected: FAIL
[Checking justify-self: flex-start]
expected: FAIL
[Checking justify-self: flex-end]
expected: FAIL
[Checking justify-self: baseline]
expected: FAIL
[Checking justify-self: first baseline]
expected: FAIL
[Checking justify-self: last baseline]
expected: FAIL
[Checking justify-self: safe flex-end]
expected: FAIL
[Checking justify-self: unsafe end]
expected: FAIL
[Checking justify-self: safe end]
expected: FAIL
[Checking justify-self: unsafe flex-start]
expected: FAIL
[Checking justify-self: safe center]
expected: FAIL

View file

@ -1,78 +0,0 @@
[parse-justify-self-004.html]
[Checking invalid combination - justify-self: legacy]
expected: FAIL
[Checking invalid combination - justify-self: space-around]
expected: FAIL
[Checking invalid combination - justify-self: auto safe]
expected: FAIL
[Checking invalid combination - justify-self: auto left]
expected: FAIL
[Checking invalid combination - justify-self: normal unsafe]
expected: FAIL
[Checking invalid combination - justify-self: normal stretch]
expected: FAIL
[Checking invalid combination - justify-self: baseline normal]
expected: FAIL
[Checking invalid combination - justify-self: baseline center]
expected: FAIL
[Checking invalid combination - justify-self: first baseline center]
expected: FAIL
[Checking invalid combination - justify-self: last baseline center]
expected: FAIL
[Checking invalid combination - justify-self: baseline last]
expected: FAIL
[Checking invalid combination - justify-self: baseline first]
expected: FAIL
[Checking invalid combination - justify-self: stretch unsafe]
expected: FAIL
[Checking invalid combination - justify-self: stretch right]
expected: FAIL
[Checking invalid combination - justify-self: unsafe unsafe]
expected: FAIL
[Checking invalid combination - justify-self: unsafe safe]
expected: FAIL
[Checking invalid combination - justify-self: center start]
expected: FAIL
[Checking invalid combination - justify-self: unsafe stretch]
expected: FAIL
[Checking invalid combination - justify-self: safe stretch]
expected: FAIL
[Checking invalid combination - justify-self: baseline safe]
expected: FAIL
[Checking invalid combination - justify-self: unsafe baseline]
expected: FAIL
[Checking invalid combination - justify-self: unsafe safe left]
expected: FAIL
[Checking invalid combination - justify-self: unsafe left safe]
expected: FAIL
[Checking invalid combination - justify-self: left safe unsafe safe]
expected: FAIL
[Checking invalid combination - justify-self: start safe]
expected: FAIL
[Checking invalid combination - justify-self: safe]
expected: FAIL

View file

@ -1,9 +0,0 @@
[parse-justify-self-005.html]
[Test the value 'inherit' overrides current value ('end')]
expected: FAIL
[Test the value 'inherit' overrides current value ('safe left')]
expected: FAIL
[Test the value 'inherit' overrides current value ('unsafe center')]
expected: FAIL

View file

@ -1,54 +0,0 @@
[place-self-shorthand-001.html]
[Checking place-self: auto]
expected: FAIL
[Checking place-self: normal]
expected: FAIL
[Checking place-self: stretch]
expected: FAIL
[Checking place-self: start]
expected: FAIL
[Checking place-self: end]
expected: FAIL
[Checking place-self: self-start]
expected: FAIL
[Checking place-self: self-end]
expected: FAIL
[Checking place-self: center]
expected: FAIL
[Checking place-self: flex-start]
expected: FAIL
[Checking place-self: flex-end]
expected: FAIL
[Checking place-self: baseline]
expected: FAIL
[Checking place-self: first baseline]
expected: FAIL
[Checking place-self: last baseline]
expected: FAIL
[Checking place-self: safe flex-end]
expected: FAIL
[Checking place-self: unsafe end]
expected: FAIL
[Checking place-self: safe end]
expected: FAIL
[Checking place-self: unsafe flex-start]
expected: FAIL
[Checking place-self: safe center]
expected: FAIL

View file

@ -1,6 +0,0 @@
[place-self-shorthand-003.html]
[Check place-self: initial - align-self expanded value]
expected: FAIL
[Check place-self: initial - justify-self expanded value]
expected: FAIL

View file

@ -1,12 +0,0 @@
[place-self-shorthand-004.html]
[Verify fallback values are invalid]
expected: FAIL
[Verify 'left' and 'right' values are invalid for block/cross axis alignment]
expected: FAIL
[Verify numeric values are invalid]
expected: FAIL
[Verify empty declaration is invalid]
expected: FAIL

View file

@ -1,6 +0,0 @@
[place-self-shorthand-005.html]
[Check place-self: inherit - align-self resolved value]
expected: FAIL
[Check place-self: inherit - justify-self resolved value]
expected: FAIL

View file

@ -1,117 +0,0 @@
[place-self-shorthand-006.html]
[Checking place-self: auto auto]
expected: FAIL
[Checking place-self: auto first baseline]
expected: FAIL
[Checking place-self: normal normal]
expected: FAIL
[Checking place-self: normal first baseline]
expected: FAIL
[Checking place-self: stretch stretch]
expected: FAIL
[Checking place-self: stretch first baseline]
expected: FAIL
[Checking place-self: start start]
expected: FAIL
[Checking place-self: start first baseline]
expected: FAIL
[Checking place-self: end end]
expected: FAIL
[Checking place-self: end first baseline]
expected: FAIL
[Checking place-self: self-start self-start]
expected: FAIL
[Checking place-self: self-start first baseline]
expected: FAIL
[Checking place-self: self-end self-end]
expected: FAIL
[Checking place-self: self-end first baseline]
expected: FAIL
[Checking place-self: center center]
expected: FAIL
[Checking place-self: center first baseline]
expected: FAIL
[Checking place-self: flex-start flex-start]
expected: FAIL
[Checking place-self: flex-start first baseline]
expected: FAIL
[Checking place-self: flex-end flex-end]
expected: FAIL
[Checking place-self: flex-end first baseline]
expected: FAIL
[Checking place-self: baseline baseline]
expected: FAIL
[Checking place-self: baseline first baseline]
expected: FAIL
[Checking place-self: first baseline left]
expected: FAIL
[Checking place-self: first baseline right]
expected: FAIL
[Checking place-self: first baseline auto]
expected: FAIL
[Checking place-self: first baseline normal]
expected: FAIL
[Checking place-self: first baseline stretch]
expected: FAIL
[Checking place-self: first baseline start]
expected: FAIL
[Checking place-self: first baseline end]
expected: FAIL
[Checking place-self: first baseline self-start]
expected: FAIL
[Checking place-self: first baseline self-end]
expected: FAIL
[Checking place-self: first baseline center]
expected: FAIL
[Checking place-self: first baseline flex-start]
expected: FAIL
[Checking place-self: first baseline flex-end]
expected: FAIL
[Checking place-self: first baseline baseline]
expected: FAIL
[Checking place-self: first baseline first baseline]
expected: FAIL
[Checking place-self: first baseline last baseline]
expected: FAIL
[Checking place-self: last baseline first baseline]
expected: FAIL
[Checking place-self: last baseline last baseline]
expected: FAIL