Truly independent web browser
Tests: Import WPT tests for `place-*` shorthands and `justify-items`
Jelle Raaijmakers371dbb58e5ce
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.txtnew file mode 100644index 00000000000..3dc92b265c8--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.txt@@ -0,0 +1,222 @@+Harness status: OK++Found 216 tests++120 Pass+96 Fail+Pass Checking place-content: normal normal+Pass Checking place-content: normal left+Pass Checking place-content: normal right+Pass Checking place-content: normal start+Pass Checking place-content: normal end+Pass Checking place-content: normal center+Pass Checking place-content: normal flex-start+Pass Checking place-content: normal flex-end+Pass Checking place-content: normal stretch+Pass Checking place-content: normal space-around+Pass Checking place-content: normal space-between+Pass Checking place-content: normal space-evenly+Pass Checking place-content: start normal+Pass Checking place-content: start left+Pass Checking place-content: start right+Pass Checking place-content: start start+Pass Checking place-content: start end+Pass Checking place-content: start center+Pass Checking place-content: start flex-start+Pass Checking place-content: start flex-end+Pass Checking place-content: start stretch+Pass Checking place-content: start space-around+Pass Checking place-content: start space-between+Pass Checking place-content: start space-evenly+Pass Checking place-content: end normal+Pass Checking place-content: end left+Pass Checking place-content: end right+Pass Checking place-content: end start+Pass Checking place-content: end end+Pass Checking place-content: end center+Pass Checking place-content: end flex-start+Pass Checking place-content: end flex-end+Pass Checking place-content: end stretch+Pass Checking place-content: end space-around+Pass Checking place-content: end space-between+Pass Checking place-content: end space-evenly+Pass Checking place-content: center normal+Pass Checking place-content: center left+Pass Checking place-content: center right+Pass Checking place-content: center start+Pass Checking place-content: center end+Pass Checking place-content: center center+Pass Checking place-content: center flex-start+Pass Checking place-content: center flex-end+Pass Checking place-content: center stretch+Pass Checking place-content: center space-around+Pass Checking place-content: center space-between+Pass Checking place-content: center space-evenly+Pass Checking place-content: flex-start normal+Pass Checking place-content: flex-start left+Pass Checking place-content: flex-start right+Pass Checking place-content: flex-start start+Pass Checking place-content: flex-start end+Pass Checking place-content: flex-start center+Pass Checking place-content: flex-start flex-start+Pass Checking place-content: flex-start flex-end+Pass Checking place-content: flex-start stretch+Pass Checking place-content: flex-start space-around+Pass Checking place-content: flex-start space-between+Pass Checking place-content: flex-start space-evenly+Pass Checking place-content: flex-end normal+Pass Checking place-content: flex-end left+Pass Checking place-content: flex-end right+Pass Checking place-content: flex-end start+Pass Checking place-content: flex-end end+Pass Checking place-content: flex-end center+Pass Checking place-content: flex-end flex-start+Pass Checking place-content: flex-end flex-end+Pass Checking place-content: flex-end stretch+Pass Checking place-content: flex-end space-around+Pass Checking place-content: flex-end space-between+Pass Checking place-content: flex-end space-evenly+Pass Checking place-content: stretch normal+Pass Checking place-content: stretch left+Pass Checking place-content: stretch right+Pass Checking place-content: stretch start+Pass Checking place-content: stretch end+Pass Checking place-content: stretch center+Pass Checking place-content: stretch flex-start+Pass Checking place-content: stretch flex-end+Pass Checking place-content: stretch stretch+Pass Checking place-content: stretch space-around+Pass Checking place-content: stretch space-between+Pass Checking place-content: stretch space-evenly+Pass Checking place-content: space-around normal+Pass Checking place-content: space-around left+Pass Checking place-content: space-around right+Pass Checking place-content: space-around start+Pass Checking place-content: space-around end+Pass Checking place-content: space-around center+Pass Checking place-content: space-around flex-start+Pass Checking place-content: space-around flex-end+Pass Checking place-content: space-around stretch+Pass Checking place-content: space-around space-around+Pass Checking place-content: space-around space-between+Pass Checking place-content: space-around space-evenly+Pass Checking place-content: space-between normal+Pass Checking place-content: space-between left+Pass Checking place-content: space-between right+Pass Checking place-content: space-between start+Pass Checking place-content: space-between end+Pass Checking place-content: space-between center+Pass Checking place-content: space-between flex-start+Pass Checking place-content: space-between flex-end+Pass Checking place-content: space-between stretch+Pass Checking place-content: space-between space-around+Pass Checking place-content: space-between space-between+Pass Checking place-content: space-between space-evenly+Pass Checking place-content: space-evenly normal+Pass Checking place-content: space-evenly left+Pass Checking place-content: space-evenly right+Pass Checking place-content: space-evenly start+Pass Checking place-content: space-evenly end+Pass Checking place-content: space-evenly center+Pass Checking place-content: space-evenly flex-start+Pass Checking place-content: space-evenly flex-end+Pass Checking place-content: space-evenly stretch+Pass Checking place-content: space-evenly space-around+Pass Checking place-content: space-evenly space-between+Pass Checking place-content: space-evenly space-evenly+Fail Checking place-content: baseline normal+Fail Checking place-content: baseline left+Fail Checking place-content: baseline right+Fail Checking place-content: baseline start+Fail Checking place-content: baseline end+Fail Checking place-content: baseline center+Fail Checking place-content: baseline flex-start+Fail Checking place-content: baseline flex-end+Fail Checking place-content: baseline stretch+Fail Checking place-content: baseline space-around+Fail Checking place-content: baseline space-between+Fail Checking place-content: baseline space-evenly+Fail Checking place-content: first baseline normal+Fail Checking place-content: first baseline left+Fail Checking place-content: first baseline right+Fail Checking place-content: first baseline start+Fail Checking place-content: first baseline end+Fail Checking place-content: first baseline center+Fail Checking place-content: first baseline flex-start+Fail Checking place-content: first baseline flex-end+Fail Checking place-content: first baseline stretch+Fail Checking place-content: first baseline space-around+Fail Checking place-content: first baseline space-between+Fail Checking place-content: first baseline space-evenly+Fail Checking place-content: last baseline normal+Fail Checking place-content: last baseline left+Fail Checking place-content: last baseline right+Fail Checking place-content: last baseline start+Fail Checking place-content: last baseline end+Fail Checking place-content: last baseline center+Fail Checking place-content: last baseline flex-start+Fail Checking place-content: last baseline flex-end+Fail Checking place-content: last baseline stretch+Fail Checking place-content: last baseline space-around+Fail Checking place-content: last baseline space-between+Fail Checking place-content: last baseline space-evenly+Fail Checking place-content: safe flex-end normal+Fail Checking place-content: safe flex-end left+Fail Checking place-content: safe flex-end right+Fail Checking place-content: safe flex-end start+Fail Checking place-content: safe flex-end end+Fail Checking place-content: safe flex-end center+Fail Checking place-content: safe flex-end flex-start+Fail Checking place-content: safe flex-end flex-end+Fail Checking place-content: safe flex-end stretch+Fail Checking place-content: safe flex-end space-around+Fail Checking place-content: safe flex-end space-between+Fail Checking place-content: safe flex-end space-evenly+Fail Checking place-content: unsafe end normal+Fail Checking place-content: unsafe end left+Fail Checking place-content: unsafe end right+Fail Checking place-content: unsafe end start+Fail Checking place-content: unsafe end end+Fail Checking place-content: unsafe end center+Fail Checking place-content: unsafe end flex-start+Fail Checking place-content: unsafe end flex-end+Fail Checking place-content: unsafe end stretch+Fail Checking place-content: unsafe end space-around+Fail Checking place-content: unsafe end space-between+Fail Checking place-content: unsafe end space-evenly+Fail Checking place-content: safe end normal+Fail Checking place-content: safe end left+Fail Checking place-content: safe end right+Fail Checking place-content: safe end start+Fail Checking place-content: safe end end+Fail Checking place-content: safe end center+Fail Checking place-content: safe end flex-start+Fail Checking place-content: safe end flex-end+Fail Checking place-content: safe end stretch+Fail Checking place-content: safe end space-around+Fail Checking place-content: safe end space-between+Fail Checking place-content: safe end space-evenly+Fail Checking place-content: unsafe flex-start normal+Fail Checking place-content: unsafe flex-start left+Fail Checking place-content: unsafe flex-start right+Fail Checking place-content: unsafe flex-start start+Fail Checking place-content: unsafe flex-start end+Fail Checking place-content: unsafe flex-start center+Fail Checking place-content: unsafe flex-start flex-start+Fail Checking place-content: unsafe flex-start flex-end+Fail Checking place-content: unsafe flex-start stretch+Fail Checking place-content: unsafe flex-start space-around+Fail Checking place-content: unsafe flex-start space-between+Fail Checking place-content: unsafe flex-start space-evenly+Fail Checking place-content: safe center normal+Fail Checking place-content: safe center left+Fail Checking place-content: safe center right+Fail Checking place-content: safe center start+Fail Checking place-content: safe center end+Fail Checking place-content: safe center center+Fail Checking place-content: safe center flex-start+Fail Checking place-content: safe center flex-end+Fail Checking place-content: safe center stretch+Fail Checking place-content: safe center space-around+Fail Checking place-content: safe center space-between+Fail Checking place-content: safe center space-evenly\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.txtnew file mode 100644index 00000000000..f66042e28ab--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.txt@@ -0,0 +1,162 @@+Harness status: OK++Found 156 tests++80 Pass+76 Fail+Pass Checking place-content: normal normal+Pass Checking place-content: normal left+Pass Checking place-content: normal right+Pass Checking place-content: normal start+Pass Checking place-content: normal end+Pass Checking place-content: normal center+Fail Checking place-content: normal flex-start+Fail Checking place-content: normal flex-end+Pass Checking place-content: normal stretch+Pass Checking place-content: normal space-around+Pass Checking place-content: normal space-between+Pass Checking place-content: normal space-evenly+Pass Checking place-content: start normal+Pass Checking place-content: start left+Pass Checking place-content: start right+Pass Checking place-content: start start+Pass Checking place-content: start end+Pass Checking place-content: start center+Fail Checking place-content: start flex-start+Fail Checking place-content: start flex-end+Pass Checking place-content: start stretch+Pass Checking place-content: start space-around+Pass Checking place-content: start space-between+Pass Checking place-content: start space-evenly+Pass Checking place-content: end normal+Pass Checking place-content: end left+Pass Checking place-content: end right+Pass Checking place-content: end start+Pass Checking place-content: end end+Pass Checking place-content: end center+Fail Checking place-content: end flex-start+Fail Checking place-content: end flex-end+Pass Checking place-content: end stretch+Pass Checking place-content: end space-around+Pass Checking place-content: end space-between+Pass Checking place-content: end space-evenly+Pass Checking place-content: center normal+Pass Checking place-content: center left+Pass Checking place-content: center right+Pass Checking place-content: center start+Pass Checking place-content: center end+Pass Checking place-content: center center+Fail Checking place-content: center flex-start+Fail Checking place-content: center flex-end+Pass Checking place-content: center stretch+Pass Checking place-content: center space-around+Pass Checking place-content: center space-between+Pass Checking place-content: center space-evenly+Fail Checking place-content: flex-start normal+Fail Checking place-content: flex-start left+Fail Checking place-content: flex-start right+Fail Checking place-content: flex-start start+Fail Checking place-content: flex-start end+Fail Checking place-content: flex-start center+Fail Checking place-content: flex-start flex-start+Fail Checking place-content: flex-start flex-end+Fail Checking place-content: flex-start stretch+Fail Checking place-content: flex-start space-around+Fail Checking place-content: flex-start space-between+Fail Checking place-content: flex-start space-evenly+Fail Checking place-content: flex-end normal+Fail Checking place-content: flex-end left+Fail Checking place-content: flex-end right+Fail Checking place-content: flex-end start+Fail Checking place-content: flex-end end+Fail Checking place-content: flex-end center+Fail Checking place-content: flex-end flex-start+Fail Checking place-content: flex-end flex-end+Fail Checking place-content: flex-end stretch+Fail Checking place-content: flex-end space-around+Fail Checking place-content: flex-end space-between+Fail Checking place-content: flex-end space-evenly+Pass Checking place-content: stretch normal+Pass Checking place-content: stretch left+Pass Checking place-content: stretch right+Pass Checking place-content: stretch start+Pass Checking place-content: stretch end+Pass Checking place-content: stretch center+Fail Checking place-content: stretch flex-start+Fail Checking place-content: stretch flex-end+Pass Checking place-content: stretch stretch+Pass Checking place-content: stretch space-around+Pass Checking place-content: stretch space-between+Pass Checking place-content: stretch space-evenly+Pass Checking place-content: space-around normal+Pass Checking place-content: space-around left+Pass Checking place-content: space-around right+Pass Checking place-content: space-around start+Pass Checking place-content: space-around end+Pass Checking place-content: space-around center+Fail Checking place-content: space-around flex-start+Fail Checking place-content: space-around flex-end+Pass Checking place-content: space-around stretch+Pass Checking place-content: space-around space-around+Pass Checking place-content: space-around space-between+Pass Checking place-content: space-around space-evenly+Pass Checking place-content: space-between normal+Pass Checking place-content: space-between left+Pass Checking place-content: space-between right+Pass Checking place-content: space-between start+Pass Checking place-content: space-between end+Pass Checking place-content: space-between center+Fail Checking place-content: space-between flex-start+Fail Checking place-content: space-between flex-end+Pass Checking place-content: space-between stretch+Pass Checking place-content: space-between space-around+Pass Checking place-content: space-between space-between+Pass Checking place-content: space-between space-evenly+Pass Checking place-content: space-evenly normal+Pass Checking place-content: space-evenly left+Pass Checking place-content: space-evenly right+Pass Checking place-content: space-evenly start+Pass Checking place-content: space-evenly end+Pass Checking place-content: space-evenly center+Fail Checking place-content: space-evenly flex-start+Fail Checking place-content: space-evenly flex-end+Pass Checking place-content: space-evenly stretch+Pass Checking place-content: space-evenly space-around+Pass Checking place-content: space-evenly space-between+Pass Checking place-content: space-evenly space-evenly+Fail Checking place-content: baseline normal+Fail Checking place-content: baseline left+Fail Checking place-content: baseline right+Fail Checking place-content: baseline start+Fail Checking place-content: baseline end+Fail Checking place-content: baseline center+Fail Checking place-content: baseline flex-start+Fail Checking place-content: baseline flex-end+Fail Checking place-content: baseline stretch+Fail Checking place-content: baseline space-around+Fail Checking place-content: baseline space-between+Fail Checking place-content: baseline space-evenly+Fail Checking place-content: first baseline normal+Fail Checking place-content: first baseline left+Fail Checking place-content: first baseline right+Fail Checking place-content: first baseline start+Fail Checking place-content: first baseline end+Fail Checking place-content: first baseline center+Fail Checking place-content: first baseline flex-start+Fail Checking place-content: first baseline flex-end+Fail Checking place-content: first baseline stretch+Fail Checking place-content: first baseline space-around+Fail Checking place-content: first baseline space-between+Fail Checking place-content: first baseline space-evenly+Fail Checking place-content: last baseline normal+Fail Checking place-content: last baseline left+Fail Checking place-content: last baseline right+Fail Checking place-content: last baseline start+Fail Checking place-content: last baseline end+Fail Checking place-content: last baseline center+Fail Checking place-content: last baseline flex-start+Fail Checking place-content: last baseline flex-end+Fail Checking place-content: last baseline stretch+Fail Checking place-content: last baseline space-around+Fail Checking place-content: last baseline space-between+Fail Checking place-content: last baseline space-evenly\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.txtnew file mode 100644index 00000000000..21aab7112ec--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.txt@@ -0,0 +1,380 @@+Harness status: OK++Found 374 tests++120 Pass+254 Fail+Pass Checking place-items: normal left+Pass Checking place-items: normal right+Fail Checking place-items: normal legacy left+Fail Checking place-items: normal legacy center+Fail Checking place-items: normal legacy right+Pass Checking place-items: normal normal+Pass Checking place-items: normal stretch+Pass Checking place-items: normal start+Pass Checking place-items: normal end+Pass Checking place-items: normal self-start+Pass Checking place-items: normal self-end+Pass Checking place-items: normal center+Pass Checking place-items: normal flex-start+Pass Checking place-items: normal flex-end+Pass Checking place-items: normal baseline+Fail Checking place-items: normal first baseline+Fail Checking place-items: normal last baseline+Fail Checking place-items: normal safe flex-end+Fail Checking place-items: normal unsafe end+Fail Checking place-items: normal safe end+Fail Checking place-items: normal unsafe flex-start+Fail Checking place-items: normal safe center+Pass Checking place-items: stretch left+Pass Checking place-items: stretch right+Fail Checking place-items: stretch legacy left+Fail Checking place-items: stretch legacy center+Fail Checking place-items: stretch legacy right+Pass Checking place-items: stretch normal+Pass Checking place-items: stretch stretch+Pass Checking place-items: stretch start+Pass Checking place-items: stretch end+Pass Checking place-items: stretch self-start+Pass Checking place-items: stretch self-end+Pass Checking place-items: stretch center+Pass Checking place-items: stretch flex-start+Pass Checking place-items: stretch flex-end+Pass Checking place-items: stretch baseline+Fail Checking place-items: stretch first baseline+Fail Checking place-items: stretch last baseline+Fail Checking place-items: stretch safe flex-end+Fail Checking place-items: stretch unsafe end+Fail Checking place-items: stretch safe end+Fail Checking place-items: stretch unsafe flex-start+Fail Checking place-items: stretch safe center+Pass Checking place-items: start left+Pass Checking place-items: start right+Fail Checking place-items: start legacy left+Fail Checking place-items: start legacy center+Fail Checking place-items: start legacy right+Pass Checking place-items: start normal+Pass Checking place-items: start stretch+Pass Checking place-items: start start+Pass Checking place-items: start end+Pass Checking place-items: start self-start+Pass Checking place-items: start self-end+Pass Checking place-items: start center+Pass Checking place-items: start flex-start+Pass Checking place-items: start flex-end+Pass Checking place-items: start baseline+Fail Checking place-items: start first baseline+Fail Checking place-items: start last baseline+Fail Checking place-items: start safe flex-end+Fail Checking place-items: start unsafe end+Fail Checking place-items: start safe end+Fail Checking place-items: start unsafe flex-start+Fail Checking place-items: start safe center+Pass Checking place-items: end left+Pass Checking place-items: end right+Fail Checking place-items: end legacy left+Fail Checking place-items: end legacy center+Fail Checking place-items: end legacy right+Pass Checking place-items: end normal+Pass Checking place-items: end stretch+Pass Checking place-items: end start+Pass Checking place-items: end end+Pass Checking place-items: end self-start+Pass Checking place-items: end self-end+Pass Checking place-items: end center+Pass Checking place-items: end flex-start+Pass Checking place-items: end flex-end+Pass Checking place-items: end baseline+Fail Checking place-items: end first baseline+Fail Checking place-items: end last baseline+Fail Checking place-items: end safe flex-end+Fail Checking place-items: end unsafe end+Fail Checking place-items: end safe end+Fail Checking place-items: end unsafe flex-start+Fail Checking place-items: end safe center+Pass Checking place-items: self-start left+Pass Checking place-items: self-start right+Fail Checking place-items: self-start legacy left+Fail Checking place-items: self-start legacy center+Fail Checking place-items: self-start legacy right+Pass Checking place-items: self-start normal+Pass Checking place-items: self-start stretch+Pass Checking place-items: self-start start+Pass Checking place-items: self-start end+Pass Checking place-items: self-start self-start+Pass Checking place-items: self-start self-end+Pass Checking place-items: self-start center+Pass Checking place-items: self-start flex-start+Pass Checking place-items: self-start flex-end+Pass Checking place-items: self-start baseline+Fail Checking place-items: self-start first baseline+Fail Checking place-items: self-start last baseline+Fail Checking place-items: self-start safe flex-end+Fail Checking place-items: self-start unsafe end+Fail Checking place-items: self-start safe end+Fail Checking place-items: self-start unsafe flex-start+Fail Checking place-items: self-start safe center+Pass Checking place-items: self-end left+Pass Checking place-items: self-end right+Fail Checking place-items: self-end legacy left+Fail Checking place-items: self-end legacy center+Fail Checking place-items: self-end legacy right+Pass Checking place-items: self-end normal+Pass Checking place-items: self-end stretch+Pass Checking place-items: self-end start+Pass Checking place-items: self-end end+Pass Checking place-items: self-end self-start+Pass Checking place-items: self-end self-end+Pass Checking place-items: self-end center+Pass Checking place-items: self-end flex-start+Pass Checking place-items: self-end flex-end+Pass Checking place-items: self-end baseline+Fail Checking place-items: self-end first baseline+Fail Checking place-items: self-end last baseline+Fail Checking place-items: self-end safe flex-end+Fail Checking place-items: self-end unsafe end+Fail Checking place-items: self-end safe end+Fail Checking place-items: self-end unsafe flex-start+Fail Checking place-items: self-end safe center+Pass Checking place-items: center left+Pass Checking place-items: center right+Fail Checking place-items: center legacy left+Fail Checking place-items: center legacy center+Fail Checking place-items: center legacy right+Pass Checking place-items: center normal+Pass Checking place-items: center stretch+Pass Checking place-items: center start+Pass Checking place-items: center end+Pass Checking place-items: center self-start+Pass Checking place-items: center self-end+Pass Checking place-items: center center+Pass Checking place-items: center flex-start+Pass Checking place-items: center flex-end+Pass Checking place-items: center baseline+Fail Checking place-items: center first baseline+Fail Checking place-items: center last baseline+Fail Checking place-items: center safe flex-end+Fail Checking place-items: center unsafe end+Fail Checking place-items: center safe end+Fail Checking place-items: center unsafe flex-start+Fail Checking place-items: center safe center+Pass Checking place-items: flex-start left+Pass Checking place-items: flex-start right+Fail Checking place-items: flex-start legacy left+Fail Checking place-items: flex-start legacy center+Fail Checking place-items: flex-start legacy right+Pass Checking place-items: flex-start normal+Pass Checking place-items: flex-start stretch+Pass Checking place-items: flex-start start+Pass Checking place-items: flex-start end+Pass Checking place-items: flex-start self-start+Pass Checking place-items: flex-start self-end+Pass Checking place-items: flex-start center+Pass Checking place-items: flex-start flex-start+Pass Checking place-items: flex-start flex-end+Pass Checking place-items: flex-start baseline+Fail Checking place-items: flex-start first baseline+Fail Checking place-items: flex-start last baseline+Fail Checking place-items: flex-start safe flex-end+Fail Checking place-items: flex-start unsafe end+Fail Checking place-items: flex-start safe end+Fail Checking place-items: flex-start unsafe flex-start+Fail Checking place-items: flex-start safe center+Pass Checking place-items: flex-end left+Pass Checking place-items: flex-end right+Fail Checking place-items: flex-end legacy left+Fail Checking place-items: flex-end legacy center+Fail Checking place-items: flex-end legacy right+Pass Checking place-items: flex-end normal+Pass Checking place-items: flex-end stretch+Pass Checking place-items: flex-end start+Pass Checking place-items: flex-end end+Pass Checking place-items: flex-end self-start+Pass Checking place-items: flex-end self-end+Pass Checking place-items: flex-end center+Pass Checking place-items: flex-end flex-start+Pass Checking place-items: flex-end flex-end+Pass Checking place-items: flex-end baseline+Fail Checking place-items: flex-end first baseline+Fail Checking place-items: flex-end last baseline+Fail Checking place-items: flex-end safe flex-end+Fail Checking place-items: flex-end unsafe end+Fail Checking place-items: flex-end safe end+Fail Checking place-items: flex-end unsafe flex-start+Fail Checking place-items: flex-end safe center+Pass Checking place-items: baseline left+Pass Checking place-items: baseline right+Fail Checking place-items: baseline legacy left+Fail Checking place-items: baseline legacy center+Fail Checking place-items: baseline legacy right+Pass Checking place-items: baseline normal+Pass Checking place-items: baseline stretch+Pass Checking place-items: baseline start+Pass Checking place-items: baseline end+Pass Checking place-items: baseline self-start+Pass Checking place-items: baseline self-end+Pass Checking place-items: baseline center+Pass Checking place-items: baseline flex-start+Pass Checking place-items: baseline flex-end+Pass Checking place-items: baseline baseline+Fail Checking place-items: baseline first baseline+Fail Checking place-items: baseline last baseline+Fail Checking place-items: baseline safe flex-end+Fail Checking place-items: baseline unsafe end+Fail Checking place-items: baseline safe end+Fail Checking place-items: baseline unsafe flex-start+Fail Checking place-items: baseline safe center+Fail Checking place-items: first baseline left+Fail Checking place-items: first baseline right+Fail Checking place-items: first baseline legacy left+Fail Checking place-items: first baseline legacy center+Fail Checking place-items: first baseline legacy right+Fail Checking place-items: first baseline normal+Fail Checking place-items: first baseline stretch+Fail Checking place-items: first baseline start+Fail Checking place-items: first baseline end+Fail Checking place-items: first baseline self-start+Fail Checking place-items: first baseline self-end+Fail Checking place-items: first baseline center+Fail Checking place-items: first baseline flex-start+Fail Checking place-items: first baseline flex-end+Fail Checking place-items: first baseline baseline+Fail Checking place-items: first baseline first baseline+Fail Checking place-items: first baseline last baseline+Fail Checking place-items: first baseline safe flex-end+Fail Checking place-items: first baseline unsafe end+Fail Checking place-items: first baseline safe end+Fail Checking place-items: first baseline unsafe flex-start+Fail Checking place-items: first baseline safe center+Fail Checking place-items: last baseline left+Fail Checking place-items: last baseline right+Fail Checking place-items: last baseline legacy left+Fail Checking place-items: last baseline legacy center+Fail Checking place-items: last baseline legacy right+Fail Checking place-items: last baseline normal+Fail Checking place-items: last baseline stretch+Fail Checking place-items: last baseline start+Fail Checking place-items: last baseline end+Fail Checking place-items: last baseline self-start+Fail Checking place-items: last baseline self-end+Fail Checking place-items: last baseline center+Fail Checking place-items: last baseline flex-start+Fail Checking place-items: last baseline flex-end+Fail Checking place-items: last baseline baseline+Fail Checking place-items: last baseline first baseline+Fail Checking place-items: last baseline last baseline+Fail Checking place-items: last baseline safe flex-end+Fail Checking place-items: last baseline unsafe end+Fail Checking place-items: last baseline safe end+Fail Checking place-items: last baseline unsafe flex-start+Fail Checking place-items: last baseline safe center+Fail Checking place-items: safe flex-end left+Fail Checking place-items: safe flex-end right+Fail Checking place-items: safe flex-end legacy left+Fail Checking place-items: safe flex-end legacy center+Fail Checking place-items: safe flex-end legacy right+Fail Checking place-items: safe flex-end normal+Fail Checking place-items: safe flex-end stretch+Fail Checking place-items: safe flex-end start+Fail Checking place-items: safe flex-end end+Fail Checking place-items: safe flex-end self-start+Fail Checking place-items: safe flex-end self-end+Fail Checking place-items: safe flex-end center+Fail Checking place-items: safe flex-end flex-start+Fail Checking place-items: safe flex-end flex-end+Fail Checking place-items: safe flex-end baseline+Fail Checking place-items: safe flex-end first baseline+Fail Checking place-items: safe flex-end last baseline+Fail Checking place-items: safe flex-end safe flex-end+Fail Checking place-items: safe flex-end unsafe end+Fail Checking place-items: safe flex-end safe end+Fail Checking place-items: safe flex-end unsafe flex-start+Fail Checking place-items: safe flex-end safe center+Fail Checking place-items: unsafe end left+Fail Checking place-items: unsafe end right+Fail Checking place-items: unsafe end legacy left+Fail Checking place-items: unsafe end legacy center+Fail Checking place-items: unsafe end legacy right+Fail Checking place-items: unsafe end normal+Fail Checking place-items: unsafe end stretch+Fail Checking place-items: unsafe end start+Fail Checking place-items: unsafe end end+Fail Checking place-items: unsafe end self-start+Fail Checking place-items: unsafe end self-end+Fail Checking place-items: unsafe end center+Fail Checking place-items: unsafe end flex-start+Fail Checking place-items: unsafe end flex-end+Fail Checking place-items: unsafe end baseline+Fail Checking place-items: unsafe end first baseline+Fail Checking place-items: unsafe end last baseline+Fail Checking place-items: unsafe end safe flex-end+Fail Checking place-items: unsafe end unsafe end+Fail Checking place-items: unsafe end safe end+Fail Checking place-items: unsafe end unsafe flex-start+Fail Checking place-items: unsafe end safe center+Fail Checking place-items: safe end left+Fail Checking place-items: safe end right+Fail Checking place-items: safe end legacy left+Fail Checking place-items: safe end legacy center+Fail Checking place-items: safe end legacy right+Fail Checking place-items: safe end normal+Fail Checking place-items: safe end stretch+Fail Checking place-items: safe end start+Fail Checking place-items: safe end end+Fail Checking place-items: safe end self-start+Fail Checking place-items: safe end self-end+Fail Checking place-items: safe end center+Fail Checking place-items: safe end flex-start+Fail Checking place-items: safe end flex-end+Fail Checking place-items: safe end baseline+Fail Checking place-items: safe end first baseline+Fail Checking place-items: safe end last baseline+Fail Checking place-items: safe end safe flex-end+Fail Checking place-items: safe end unsafe end+Fail Checking place-items: safe end safe end+Fail Checking place-items: safe end unsafe flex-start+Fail Checking place-items: safe end safe center+Fail Checking place-items: unsafe flex-start left+Fail Checking place-items: unsafe flex-start right+Fail Checking place-items: unsafe flex-start legacy left+Fail Checking place-items: unsafe flex-start legacy center+Fail Checking place-items: unsafe flex-start legacy right+Fail Checking place-items: unsafe flex-start normal+Fail Checking place-items: unsafe flex-start stretch+Fail Checking place-items: unsafe flex-start start+Fail Checking place-items: unsafe flex-start end+Fail Checking place-items: unsafe flex-start self-start+Fail Checking place-items: unsafe flex-start self-end+Fail Checking place-items: unsafe flex-start center+Fail Checking place-items: unsafe flex-start flex-start+Fail Checking place-items: unsafe flex-start flex-end+Fail Checking place-items: unsafe flex-start baseline+Fail Checking place-items: unsafe flex-start first baseline+Fail Checking place-items: unsafe flex-start last baseline+Fail Checking place-items: unsafe flex-start safe flex-end+Fail Checking place-items: unsafe flex-start unsafe end+Fail Checking place-items: unsafe flex-start safe end+Fail Checking place-items: unsafe flex-start unsafe flex-start+Fail Checking place-items: unsafe flex-start safe center+Fail Checking place-items: safe center left+Fail Checking place-items: safe center right+Fail Checking place-items: safe center legacy left+Fail Checking place-items: safe center legacy center+Fail Checking place-items: safe center legacy right+Fail Checking place-items: safe center normal+Fail Checking place-items: safe center stretch+Fail Checking place-items: safe center start+Fail Checking place-items: safe center end+Fail Checking place-items: safe center self-start+Fail Checking place-items: safe center self-end+Fail Checking place-items: safe center center+Fail Checking place-items: safe center flex-start+Fail Checking place-items: safe center flex-end+Fail Checking place-items: safe center baseline+Fail Checking place-items: safe center first baseline+Fail Checking place-items: safe center last baseline+Fail Checking place-items: safe center safe flex-end+Fail Checking place-items: safe center unsafe end+Fail Checking place-items: safe center safe end+Fail Checking place-items: safe center unsafe flex-start+Fail Checking place-items: safe center safe center\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.txtnew file mode 100644index 00000000000..ef8bd66ef45--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.txt@@ -0,0 +1,174 @@+Harness status: OK++Found 168 tests++80 Pass+88 Fail+Pass Checking place-items: normal left+Pass Checking place-items: normal right+Pass Checking place-items: normal normal+Pass Checking place-items: normal stretch+Pass Checking place-items: normal start+Pass Checking place-items: normal end+Pass Checking place-items: normal self-start+Pass Checking place-items: normal self-end+Pass Checking place-items: normal center+Fail Checking place-items: normal flex-start+Fail Checking place-items: normal flex-end+Pass Checking place-items: normal baseline+Fail Checking place-items: normal first baseline+Fail Checking place-items: normal last baseline+Pass Checking place-items: stretch left+Pass Checking place-items: stretch right+Pass Checking place-items: stretch normal+Pass Checking place-items: stretch stretch+Pass Checking place-items: stretch start+Pass Checking place-items: stretch end+Pass Checking place-items: stretch self-start+Pass Checking place-items: stretch self-end+Pass Checking place-items: stretch center+Fail Checking place-items: stretch flex-start+Fail Checking place-items: stretch flex-end+Pass Checking place-items: stretch baseline+Fail Checking place-items: stretch first baseline+Fail Checking place-items: stretch last baseline+Pass Checking place-items: start left+Pass Checking place-items: start right+Pass Checking place-items: start normal+Pass Checking place-items: start stretch+Pass Checking place-items: start start+Pass Checking place-items: start end+Pass Checking place-items: start self-start+Pass Checking place-items: start self-end+Pass Checking place-items: start center+Fail Checking place-items: start flex-start+Fail Checking place-items: start flex-end+Pass Checking place-items: start baseline+Fail Checking place-items: start first baseline+Fail Checking place-items: start last baseline+Pass Checking place-items: end left+Pass Checking place-items: end right+Pass Checking place-items: end normal+Pass Checking place-items: end stretch+Pass Checking place-items: end start+Pass Checking place-items: end end+Pass Checking place-items: end self-start+Pass Checking place-items: end self-end+Pass Checking place-items: end center+Fail Checking place-items: end flex-start+Fail Checking place-items: end flex-end+Pass Checking place-items: end baseline+Fail Checking place-items: end first baseline+Fail Checking place-items: end last baseline+Pass Checking place-items: self-start left+Pass Checking place-items: self-start right+Pass Checking place-items: self-start normal+Pass Checking place-items: self-start stretch+Pass Checking place-items: self-start start+Pass Checking place-items: self-start end+Pass Checking place-items: self-start self-start+Pass Checking place-items: self-start self-end+Pass Checking place-items: self-start center+Fail Checking place-items: self-start flex-start+Fail Checking place-items: self-start flex-end+Pass Checking place-items: self-start baseline+Fail Checking place-items: self-start first baseline+Fail Checking place-items: self-start last baseline+Pass Checking place-items: self-end left+Pass Checking place-items: self-end right+Pass Checking place-items: self-end normal+Pass Checking place-items: self-end stretch+Pass Checking place-items: self-end start+Pass Checking place-items: self-end end+Pass Checking place-items: self-end self-start+Pass Checking place-items: self-end self-end+Pass Checking place-items: self-end center+Fail Checking place-items: self-end flex-start+Fail Checking place-items: self-end flex-end+Pass Checking place-items: self-end baseline+Fail Checking place-items: self-end first baseline+Fail Checking place-items: self-end last baseline+Pass Checking place-items: center left+Pass Checking place-items: center right+Pass Checking place-items: center normal+Pass Checking place-items: center stretch+Pass Checking place-items: center start+Pass Checking place-items: center end+Pass Checking place-items: center self-start+Pass Checking place-items: center self-end+Pass Checking place-items: center center+Fail Checking place-items: center flex-start+Fail Checking place-items: center flex-end+Pass Checking place-items: center baseline+Fail Checking place-items: center first baseline+Fail Checking place-items: center last baseline+Fail Checking place-items: flex-start left+Fail Checking place-items: flex-start right+Fail Checking place-items: flex-start normal+Fail Checking place-items: flex-start stretch+Fail Checking place-items: flex-start start+Fail Checking place-items: flex-start end+Fail Checking place-items: flex-start self-start+Fail Checking place-items: flex-start self-end+Fail Checking place-items: flex-start center+Fail Checking place-items: flex-start flex-start+Fail Checking place-items: flex-start flex-end+Fail Checking place-items: flex-start baseline+Fail Checking place-items: flex-start first baseline+Fail Checking place-items: flex-start last baseline+Fail Checking place-items: flex-end left+Fail Checking place-items: flex-end right+Fail Checking place-items: flex-end normal+Fail Checking place-items: flex-end stretch+Fail Checking place-items: flex-end start+Fail Checking place-items: flex-end end+Fail Checking place-items: flex-end self-start+Fail Checking place-items: flex-end self-end+Fail Checking place-items: flex-end center+Fail Checking place-items: flex-end flex-start+Fail Checking place-items: flex-end flex-end+Fail Checking place-items: flex-end baseline+Fail Checking place-items: flex-end first baseline+Fail Checking place-items: flex-end last baseline+Pass Checking place-items: baseline left+Pass Checking place-items: baseline right+Pass Checking place-items: baseline normal+Pass Checking place-items: baseline stretch+Pass Checking place-items: baseline start+Pass Checking place-items: baseline end+Pass Checking place-items: baseline self-start+Pass Checking place-items: baseline self-end+Pass Checking place-items: baseline center+Fail Checking place-items: baseline flex-start+Fail Checking place-items: baseline flex-end+Pass Checking place-items: baseline baseline+Fail Checking place-items: baseline first baseline+Fail Checking place-items: baseline last baseline+Fail Checking place-items: first baseline left+Fail Checking place-items: first baseline right+Fail Checking place-items: first baseline normal+Fail Checking place-items: first baseline stretch+Fail Checking place-items: first baseline start+Fail Checking place-items: first baseline end+Fail Checking place-items: first baseline self-start+Fail Checking place-items: first baseline self-end+Fail Checking place-items: first baseline center+Fail Checking place-items: first baseline flex-start+Fail Checking place-items: first baseline flex-end+Fail Checking place-items: first baseline baseline+Fail Checking place-items: first baseline first baseline+Fail Checking place-items: first baseline last baseline+Fail Checking place-items: last baseline left+Fail Checking place-items: last baseline right+Fail Checking place-items: last baseline normal+Fail Checking place-items: last baseline stretch+Fail Checking place-items: last baseline start+Fail Checking place-items: last baseline end+Fail Checking place-items: last baseline self-start+Fail Checking place-items: last baseline self-end+Fail Checking place-items: last baseline center+Fail Checking place-items: last baseline flex-start+Fail Checking place-items: last baseline flex-end+Fail Checking place-items: last baseline baseline+Fail Checking place-items: last baseline first baseline+Fail Checking place-items: last baseline last baseline\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/justify-items-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/justify-items-computed.txtnew file mode 100644index 00000000000..39e2a7faf74--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/justify-items-computed.txt@@ -0,0 +1,30 @@+Harness status: OK++Found 24 tests++9 Pass+15 Fail+Pass Property justify-items value 'normal'+Pass Property justify-items value 'stretch'+Pass Property justify-items value 'baseline'+Fail Property justify-items value 'last baseline'+Pass Property justify-items value 'center'+Pass Property justify-items value 'start'+Pass Property justify-items value 'end'+Pass Property justify-items value 'self-start'+Pass Property justify-items value 'self-end'+Fail Property justify-items value 'flex-start'+Fail Property justify-items value 'flex-end'+Fail Property justify-items value 'flow-start'+Fail Property justify-items value 'flow-end'+Fail Property justify-items value 'safe flow-start'+Fail Property justify-items value 'unsafe flow-end'+Fail Property justify-items value 'unsafe center'+Fail Property justify-items value 'safe self-end'+Pass Property justify-items value 'right'+Fail Property justify-items value 'safe left'+Fail Property justify-items value 'legacy'+Fail Property justify-items value 'legacy left'+Fail Property justify-items value 'legacy right'+Fail Property justify-items value 'legacy center'+Fail justify-items legacy depends on inherited value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/place-items-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/place-items-computed.txtnew file mode 100644index 00000000000..8005dd20286--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/parsing/place-items-computed.txt@@ -0,0 +1,27 @@+Harness status: OK++Found 21 tests++7 Pass+14 Fail+Fail Initial value+Pass Property place-items value 'normal'+Pass Property place-items value 'stretch stretch'+Fail Property place-items value 'first baseline'+Fail Property place-items value 'last baseline last baseline'+Pass Property place-items value 'center'+Pass Property place-items value 'end end'+Pass Property place-items value 'self-start'+Fail Property place-items value 'flex-end'+Fail Property place-items value 'unsafe center unsafe center'+Fail Property place-items value 'safe self-end'+Fail Property place-items value 'flow-start'+Fail Property place-items value 'flow-start flow-end'+Pass Property place-items value 'stretch baseline'+Fail Property place-items value 'last baseline center'+Fail Property place-items value 'safe self-end normal'+Pass Property place-items value 'normal right'+Fail Property place-items value 'baseline unsafe left'+Fail Property place-items value 'flex-end legacy'+Fail Property place-items value 'stretch legacy left'+Fail Property place-items value 'first baseline right legacy'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.txtnew file mode 100644index 00000000000..207b2cc2ec7--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.txt@@ -0,0 +1,366 @@+Harness status: OK++Found 360 tests++143 Pass+217 Fail+Pass Checking place-self: auto left+Pass Checking place-self: auto right+Pass Checking place-self: auto auto+Pass Checking place-self: auto normal+Pass Checking place-self: auto stretch+Pass Checking place-self: auto start+Pass Checking place-self: auto end+Pass Checking place-self: auto self-start+Pass Checking place-self: auto self-end+Pass Checking place-self: auto center+Pass Checking place-self: auto flex-start+Pass Checking place-self: auto flex-end+Pass Checking place-self: auto baseline+Fail Checking place-self: auto first baseline+Fail Checking place-self: auto last baseline+Fail Checking place-self: auto safe flex-end+Fail Checking place-self: auto unsafe end+Fail Checking place-self: auto safe end+Fail Checking place-self: auto unsafe flex-start+Fail Checking place-self: auto safe center+Pass Checking place-self: normal left+Pass Checking place-self: normal right+Pass Checking place-self: normal auto+Pass Checking place-self: normal normal+Pass Checking place-self: normal stretch+Pass Checking place-self: normal start+Pass Checking place-self: normal end+Pass Checking place-self: normal self-start+Pass Checking place-self: normal self-end+Pass Checking place-self: normal center+Pass Checking place-self: normal flex-start+Pass Checking place-self: normal flex-end+Pass Checking place-self: normal baseline+Fail Checking place-self: normal first baseline+Fail Checking place-self: normal last baseline+Fail Checking place-self: normal safe flex-end+Fail Checking place-self: normal unsafe end+Fail Checking place-self: normal safe end+Fail Checking place-self: normal unsafe flex-start+Fail Checking place-self: normal safe center+Pass Checking place-self: stretch left+Pass Checking place-self: stretch right+Pass Checking place-self: stretch auto+Pass Checking place-self: stretch normal+Pass Checking place-self: stretch stretch+Pass Checking place-self: stretch start+Pass Checking place-self: stretch end+Pass Checking place-self: stretch self-start+Pass Checking place-self: stretch self-end+Pass Checking place-self: stretch center+Pass Checking place-self: stretch flex-start+Pass Checking place-self: stretch flex-end+Pass Checking place-self: stretch baseline+Fail Checking place-self: stretch first baseline+Fail Checking place-self: stretch last baseline+Fail Checking place-self: stretch safe flex-end+Fail Checking place-self: stretch unsafe end+Fail Checking place-self: stretch safe end+Fail Checking place-self: stretch unsafe flex-start+Fail Checking place-self: stretch safe center+Pass Checking place-self: start left+Pass Checking place-self: start right+Pass Checking place-self: start auto+Pass Checking place-self: start normal+Pass Checking place-self: start stretch+Pass Checking place-self: start start+Pass Checking place-self: start end+Pass Checking place-self: start self-start+Pass Checking place-self: start self-end+Pass Checking place-self: start center+Pass Checking place-self: start flex-start+Pass Checking place-self: start flex-end+Pass Checking place-self: start baseline+Fail Checking place-self: start first baseline+Fail Checking place-self: start last baseline+Fail Checking place-self: start safe flex-end+Fail Checking place-self: start unsafe end+Fail Checking place-self: start safe end+Fail Checking place-self: start unsafe flex-start+Fail Checking place-self: start safe center+Pass Checking place-self: end left+Pass Checking place-self: end right+Pass Checking place-self: end auto+Pass Checking place-self: end normal+Pass Checking place-self: end stretch+Pass Checking place-self: end start+Pass Checking place-self: end end+Pass Checking place-self: end self-start+Pass Checking place-self: end self-end+Pass Checking place-self: end center+Pass Checking place-self: end flex-start+Pass Checking place-self: end flex-end+Pass Checking place-self: end baseline+Fail Checking place-self: end first baseline+Fail Checking place-self: end last baseline+Fail Checking place-self: end safe flex-end+Fail Checking place-self: end unsafe end+Fail Checking place-self: end safe end+Fail Checking place-self: end unsafe flex-start+Fail Checking place-self: end safe center+Pass Checking place-self: self-start left+Pass Checking place-self: self-start right+Pass Checking place-self: self-start auto+Pass Checking place-self: self-start normal+Pass Checking place-self: self-start stretch+Pass Checking place-self: self-start start+Pass Checking place-self: self-start end+Pass Checking place-self: self-start self-start+Pass Checking place-self: self-start self-end+Pass Checking place-self: self-start center+Pass Checking place-self: self-start flex-start+Pass Checking place-self: self-start flex-end+Pass Checking place-self: self-start baseline+Fail Checking place-self: self-start first baseline+Fail Checking place-self: self-start last baseline+Fail Checking place-self: self-start safe flex-end+Fail Checking place-self: self-start unsafe end+Fail Checking place-self: self-start safe end+Fail Checking place-self: self-start unsafe flex-start+Fail Checking place-self: self-start safe center+Pass Checking place-self: self-end left+Pass Checking place-self: self-end right+Pass Checking place-self: self-end auto+Pass Checking place-self: self-end normal+Pass Checking place-self: self-end stretch+Pass Checking place-self: self-end start+Pass Checking place-self: self-end end+Pass Checking place-self: self-end self-start+Pass Checking place-self: self-end self-end+Pass Checking place-self: self-end center+Pass Checking place-self: self-end flex-start+Pass Checking place-self: self-end flex-end+Pass Checking place-self: self-end baseline+Fail Checking place-self: self-end first baseline+Fail Checking place-self: self-end last baseline+Fail Checking place-self: self-end safe flex-end+Fail Checking place-self: self-end unsafe end+Fail Checking place-self: self-end safe end+Fail Checking place-self: self-end unsafe flex-start+Fail Checking place-self: self-end safe center+Pass Checking place-self: center left+Pass Checking place-self: center right+Pass Checking place-self: center auto+Pass Checking place-self: center normal+Pass Checking place-self: center stretch+Pass Checking place-self: center start+Pass Checking place-self: center end+Pass Checking place-self: center self-start+Pass Checking place-self: center self-end+Pass Checking place-self: center center+Pass Checking place-self: center flex-start+Pass Checking place-self: center flex-end+Pass Checking place-self: center baseline+Fail Checking place-self: center first baseline+Fail Checking place-self: center last baseline+Fail Checking place-self: center safe flex-end+Fail Checking place-self: center unsafe end+Fail Checking place-self: center safe end+Fail Checking place-self: center unsafe flex-start+Fail Checking place-self: center safe center+Pass Checking place-self: flex-start left+Pass Checking place-self: flex-start right+Pass Checking place-self: flex-start auto+Pass Checking place-self: flex-start normal+Pass Checking place-self: flex-start stretch+Pass Checking place-self: flex-start start+Pass Checking place-self: flex-start end+Pass Checking place-self: flex-start self-start+Pass Checking place-self: flex-start self-end+Pass Checking place-self: flex-start center+Pass Checking place-self: flex-start flex-start+Pass Checking place-self: flex-start flex-end+Pass Checking place-self: flex-start baseline+Fail Checking place-self: flex-start first baseline+Fail Checking place-self: flex-start last baseline+Fail Checking place-self: flex-start safe flex-end+Fail Checking place-self: flex-start unsafe end+Fail Checking place-self: flex-start safe end+Fail Checking place-self: flex-start unsafe flex-start+Fail Checking place-self: flex-start safe center+Pass Checking place-self: flex-end left+Pass Checking place-self: flex-end right+Pass Checking place-self: flex-end auto+Pass Checking place-self: flex-end normal+Pass Checking place-self: flex-end stretch+Pass Checking place-self: flex-end start+Pass Checking place-self: flex-end end+Pass Checking place-self: flex-end self-start+Pass Checking place-self: flex-end self-end+Pass Checking place-self: flex-end center+Pass Checking place-self: flex-end flex-start+Pass Checking place-self: flex-end flex-end+Pass Checking place-self: flex-end baseline+Fail Checking place-self: flex-end first baseline+Fail Checking place-self: flex-end last baseline+Fail Checking place-self: flex-end safe flex-end+Fail Checking place-self: flex-end unsafe end+Fail Checking place-self: flex-end safe end+Fail Checking place-self: flex-end unsafe flex-start+Fail Checking place-self: flex-end safe center+Pass Checking place-self: baseline left+Pass Checking place-self: baseline right+Pass Checking place-self: baseline auto+Pass Checking place-self: baseline normal+Pass Checking place-self: baseline stretch+Pass Checking place-self: baseline start+Pass Checking place-self: baseline end+Pass Checking place-self: baseline self-start+Pass Checking place-self: baseline self-end+Pass Checking place-self: baseline center+Pass Checking place-self: baseline flex-start+Pass Checking place-self: baseline flex-end+Pass Checking place-self: baseline baseline+Fail Checking place-self: baseline first baseline+Fail Checking place-self: baseline last baseline+Fail Checking place-self: baseline safe flex-end+Fail Checking place-self: baseline unsafe end+Fail Checking place-self: baseline safe end+Fail Checking place-self: baseline unsafe flex-start+Fail Checking place-self: baseline safe center+Fail Checking place-self: first baseline left+Fail Checking place-self: first baseline right+Fail Checking place-self: first baseline auto+Fail Checking place-self: first baseline normal+Fail Checking place-self: first baseline stretch+Fail Checking place-self: first baseline start+Fail Checking place-self: first baseline end+Fail Checking place-self: first baseline self-start+Fail Checking place-self: first baseline self-end+Fail Checking place-self: first baseline center+Fail Checking place-self: first baseline flex-start+Fail Checking place-self: first baseline flex-end+Fail Checking place-self: first baseline baseline+Fail Checking place-self: first baseline first baseline+Fail Checking place-self: first baseline last baseline+Fail Checking place-self: first baseline safe flex-end+Fail Checking place-self: first baseline unsafe end+Fail Checking place-self: first baseline safe end+Fail Checking place-self: first baseline unsafe flex-start+Fail Checking place-self: first baseline safe center+Fail Checking place-self: last baseline left+Fail Checking place-self: last baseline right+Fail Checking place-self: last baseline auto+Fail Checking place-self: last baseline normal+Fail Checking place-self: last baseline stretch+Fail Checking place-self: last baseline start+Fail Checking place-self: last baseline end+Fail Checking place-self: last baseline self-start+Fail Checking place-self: last baseline self-end+Fail Checking place-self: last baseline center+Fail Checking place-self: last baseline flex-start+Fail Checking place-self: last baseline flex-end+Fail Checking place-self: last baseline baseline+Fail Checking place-self: last baseline first baseline+Fail Checking place-self: last baseline last baseline+Fail Checking place-self: last baseline safe flex-end+Fail Checking place-self: last baseline unsafe end+Fail Checking place-self: last baseline safe end+Fail Checking place-self: last baseline unsafe flex-start+Fail Checking place-self: last baseline safe center+Fail Checking place-self: safe flex-end left+Fail Checking place-self: safe flex-end right+Fail Checking place-self: safe flex-end auto+Fail Checking place-self: safe flex-end normal+Fail Checking place-self: safe flex-end stretch+Fail Checking place-self: safe flex-end start+Fail Checking place-self: safe flex-end end+Fail Checking place-self: safe flex-end self-start+Fail Checking place-self: safe flex-end self-end+Fail Checking place-self: safe flex-end center+Fail Checking place-self: safe flex-end flex-start+Fail Checking place-self: safe flex-end flex-end+Fail Checking place-self: safe flex-end baseline+Fail Checking place-self: safe flex-end first baseline+Fail Checking place-self: safe flex-end last baseline+Fail Checking place-self: safe flex-end safe flex-end+Fail Checking place-self: safe flex-end unsafe end+Fail Checking place-self: safe flex-end safe end+Fail Checking place-self: safe flex-end unsafe flex-start+Fail Checking place-self: safe flex-end safe center+Fail Checking place-self: unsafe end left+Fail Checking place-self: unsafe end right+Fail Checking place-self: unsafe end auto+Fail Checking place-self: unsafe end normal+Fail Checking place-self: unsafe end stretch+Fail Checking place-self: unsafe end start+Fail Checking place-self: unsafe end end+Fail Checking place-self: unsafe end self-start+Fail Checking place-self: unsafe end self-end+Fail Checking place-self: unsafe end center+Fail Checking place-self: unsafe end flex-start+Fail Checking place-self: unsafe end flex-end+Fail Checking place-self: unsafe end baseline+Fail Checking place-self: unsafe end first baseline+Fail Checking place-self: unsafe end last baseline+Fail Checking place-self: unsafe end safe flex-end+Fail Checking place-self: unsafe end unsafe end+Fail Checking place-self: unsafe end safe end+Fail Checking place-self: unsafe end unsafe flex-start+Fail Checking place-self: unsafe end safe center+Fail Checking place-self: safe end left+Fail Checking place-self: safe end right+Fail Checking place-self: safe end auto+Fail Checking place-self: safe end normal+Fail Checking place-self: safe end stretch+Fail Checking place-self: safe end start+Fail Checking place-self: safe end end+Fail Checking place-self: safe end self-start+Fail Checking place-self: safe end self-end+Fail Checking place-self: safe end center+Fail Checking place-self: safe end flex-start+Fail Checking place-self: safe end flex-end+Fail Checking place-self: safe end baseline+Fail Checking place-self: safe end first baseline+Fail Checking place-self: safe end last baseline+Fail Checking place-self: safe end safe flex-end+Fail Checking place-self: safe end unsafe end+Fail Checking place-self: safe end safe end+Fail Checking place-self: safe end unsafe flex-start+Fail Checking place-self: safe end safe center+Fail Checking place-self: unsafe flex-start left+Fail Checking place-self: unsafe flex-start right+Fail Checking place-self: unsafe flex-start auto+Fail Checking place-self: unsafe flex-start normal+Fail Checking place-self: unsafe flex-start stretch+Fail Checking place-self: unsafe flex-start start+Fail Checking place-self: unsafe flex-start end+Fail Checking place-self: unsafe flex-start self-start+Fail Checking place-self: unsafe flex-start self-end+Fail Checking place-self: unsafe flex-start center+Fail Checking place-self: unsafe flex-start flex-start+Fail Checking place-self: unsafe flex-start flex-end+Fail Checking place-self: unsafe flex-start baseline+Fail Checking place-self: unsafe flex-start first baseline+Fail Checking place-self: unsafe flex-start last baseline+Fail Checking place-self: unsafe flex-start safe flex-end+Fail Checking place-self: unsafe flex-start unsafe end+Fail Checking place-self: unsafe flex-start safe end+Fail Checking place-self: unsafe flex-start unsafe flex-start+Fail Checking place-self: unsafe flex-start safe center+Fail Checking place-self: safe center left+Fail Checking place-self: safe center right+Fail Checking place-self: safe center auto+Fail Checking place-self: safe center normal+Fail Checking place-self: safe center stretch+Fail Checking place-self: safe center start+Fail Checking place-self: safe center end+Fail Checking place-self: safe center self-start+Fail Checking place-self: safe center self-end+Fail Checking place-self: safe center center+Fail Checking place-self: safe center flex-start+Fail Checking place-self: safe center flex-end+Fail Checking place-self: safe center baseline+Fail Checking place-self: safe center first baseline+Fail Checking place-self: safe center last baseline+Fail Checking place-self: safe center safe flex-end+Fail Checking place-self: safe center unsafe end+Fail Checking place-self: safe center safe end+Fail Checking place-self: safe center unsafe flex-start+Fail Checking place-self: safe center safe center\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.txtnew file mode 100644index 00000000000..8bebb10bed7--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.txt@@ -0,0 +1,201 @@+Harness status: OK++Found 195 tests++99 Pass+96 Fail+Pass Checking place-self: auto left+Pass Checking place-self: auto right+Pass Checking place-self: auto auto+Pass Checking place-self: auto normal+Pass Checking place-self: auto stretch+Pass Checking place-self: auto start+Pass Checking place-self: auto end+Pass Checking place-self: auto self-start+Pass Checking place-self: auto self-end+Pass Checking place-self: auto center+Fail Checking place-self: auto flex-start+Fail Checking place-self: auto flex-end+Pass Checking place-self: auto baseline+Fail Checking place-self: auto first baseline+Fail Checking place-self: auto last baseline+Pass Checking place-self: normal left+Pass Checking place-self: normal right+Pass Checking place-self: normal auto+Pass Checking place-self: normal normal+Pass Checking place-self: normal stretch+Pass Checking place-self: normal start+Pass Checking place-self: normal end+Pass Checking place-self: normal self-start+Pass Checking place-self: normal self-end+Pass Checking place-self: normal center+Fail Checking place-self: normal flex-start+Fail Checking place-self: normal flex-end+Pass Checking place-self: normal baseline+Fail Checking place-self: normal first baseline+Fail Checking place-self: normal last baseline+Pass Checking place-self: stretch left+Pass Checking place-self: stretch right+Pass Checking place-self: stretch auto+Pass Checking place-self: stretch normal+Pass Checking place-self: stretch stretch+Pass Checking place-self: stretch start+Pass Checking place-self: stretch end+Pass Checking place-self: stretch self-start+Pass Checking place-self: stretch self-end+Pass Checking place-self: stretch center+Fail Checking place-self: stretch flex-start+Fail Checking place-self: stretch flex-end+Pass Checking place-self: stretch baseline+Fail Checking place-self: stretch first baseline+Fail Checking place-self: stretch last baseline+Pass Checking place-self: start left+Pass Checking place-self: start right+Pass Checking place-self: start auto+Pass Checking place-self: start normal+Pass Checking place-self: start stretch+Pass Checking place-self: start start+Pass Checking place-self: start end+Pass Checking place-self: start self-start+Pass Checking place-self: start self-end+Pass Checking place-self: start center+Fail Checking place-self: start flex-start+Fail Checking place-self: start flex-end+Pass Checking place-self: start baseline+Fail Checking place-self: start first baseline+Fail Checking place-self: start last baseline+Pass Checking place-self: end left+Pass Checking place-self: end right+Pass Checking place-self: end auto+Pass Checking place-self: end normal+Pass Checking place-self: end stretch+Pass Checking place-self: end start+Pass Checking place-self: end end+Pass Checking place-self: end self-start+Pass Checking place-self: end self-end+Pass Checking place-self: end center+Fail Checking place-self: end flex-start+Fail Checking place-self: end flex-end+Pass Checking place-self: end baseline+Fail Checking place-self: end first baseline+Fail Checking place-self: end last baseline+Pass Checking place-self: self-start left+Pass Checking place-self: self-start right+Pass Checking place-self: self-start auto+Pass Checking place-self: self-start normal+Pass Checking place-self: self-start stretch+Pass Checking place-self: self-start start+Pass Checking place-self: self-start end+Pass Checking place-self: self-start self-start+Pass Checking place-self: self-start self-end+Pass Checking place-self: self-start center+Fail Checking place-self: self-start flex-start+Fail Checking place-self: self-start flex-end+Pass Checking place-self: self-start baseline+Fail Checking place-self: self-start first baseline+Fail Checking place-self: self-start last baseline+Pass Checking place-self: self-end left+Pass Checking place-self: self-end right+Pass Checking place-self: self-end auto+Pass Checking place-self: self-end normal+Pass Checking place-self: self-end stretch+Pass Checking place-self: self-end start+Pass Checking place-self: self-end end+Pass Checking place-self: self-end self-start+Pass Checking place-self: self-end self-end+Pass Checking place-self: self-end center+Fail Checking place-self: self-end flex-start+Fail Checking place-self: self-end flex-end+Pass Checking place-self: self-end baseline+Fail Checking place-self: self-end first baseline+Fail Checking place-self: self-end last baseline+Pass Checking place-self: center left+Pass Checking place-self: center right+Pass Checking place-self: center auto+Pass Checking place-self: center normal+Pass Checking place-self: center stretch+Pass Checking place-self: center start+Pass Checking place-self: center end+Pass Checking place-self: center self-start+Pass Checking place-self: center self-end+Pass Checking place-self: center center+Fail Checking place-self: center flex-start+Fail Checking place-self: center flex-end+Pass Checking place-self: center baseline+Fail Checking place-self: center first baseline+Fail Checking place-self: center last baseline+Fail Checking place-self: flex-start left+Fail Checking place-self: flex-start right+Fail Checking place-self: flex-start auto+Fail Checking place-self: flex-start normal+Fail Checking place-self: flex-start stretch+Fail Checking place-self: flex-start start+Fail Checking place-self: flex-start end+Fail Checking place-self: flex-start self-start+Fail Checking place-self: flex-start self-end+Fail Checking place-self: flex-start center+Fail Checking place-self: flex-start flex-start+Fail Checking place-self: flex-start flex-end+Fail Checking place-self: flex-start baseline+Fail Checking place-self: flex-start first baseline+Fail Checking place-self: flex-start last baseline+Fail Checking place-self: flex-end left+Fail Checking place-self: flex-end right+Fail Checking place-self: flex-end auto+Fail Checking place-self: flex-end normal+Fail Checking place-self: flex-end stretch+Fail Checking place-self: flex-end start+Fail Checking place-self: flex-end end+Fail Checking place-self: flex-end self-start+Fail Checking place-self: flex-end self-end+Fail Checking place-self: flex-end center+Fail Checking place-self: flex-end flex-start+Fail Checking place-self: flex-end flex-end+Fail Checking place-self: flex-end baseline+Fail Checking place-self: flex-end first baseline+Fail Checking place-self: flex-end last baseline+Pass Checking place-self: baseline left+Pass Checking place-self: baseline right+Pass Checking place-self: baseline auto+Pass Checking place-self: baseline normal+Pass Checking place-self: baseline stretch+Pass Checking place-self: baseline start+Pass Checking place-self: baseline end+Pass Checking place-self: baseline self-start+Pass Checking place-self: baseline self-end+Pass Checking place-self: baseline center+Fail Checking place-self: baseline flex-start+Fail Checking place-self: baseline flex-end+Pass Checking place-self: baseline baseline+Fail Checking place-self: baseline first baseline+Fail Checking place-self: baseline last baseline+Fail Checking place-self: first baseline left+Fail Checking place-self: first baseline right+Fail Checking place-self: first baseline auto+Fail Checking place-self: first baseline normal+Fail Checking place-self: first baseline stretch+Fail Checking place-self: first baseline start+Fail Checking place-self: first baseline end+Fail Checking place-self: first baseline self-start+Fail Checking place-self: first baseline self-end+Fail Checking place-self: first baseline center+Fail Checking place-self: first baseline flex-start+Fail Checking place-self: first baseline flex-end+Fail Checking place-self: first baseline baseline+Fail Checking place-self: first baseline first baseline+Fail Checking place-self: first baseline last baseline+Fail Checking place-self: last baseline left+Fail Checking place-self: last baseline right+Fail Checking place-self: last baseline auto+Fail Checking place-self: last baseline normal+Fail Checking place-self: last baseline stretch+Fail Checking place-self: last baseline start+Fail Checking place-self: last baseline end+Fail Checking place-self: last baseline self-start+Fail Checking place-self: last baseline self-end+Fail Checking place-self: last baseline center+Fail Checking place-self: last baseline flex-start+Fail Checking place-self: last baseline flex-end+Fail Checking place-self: last baseline baseline+Fail Checking place-self: last baseline first baseline+Fail Checking place-self: last baseline last baseline\ No newline at end of filediff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.htmlnew file mode 100644index 00000000000..4b2ebd56497--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-002.html@@ -0,0 +1,24 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-content shorthand - multiple values specified</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#propdef-place-content" />+<meta name="assert" content="Check that setting two values to place-content sets the first one to 'align-content' and the second one to 'justify-content'." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<script>+ let classes = Object.assign({"Normal":"normal"}, contentPositionClasses, distributionClasses, baselineClasses,+ overflowClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let classes2 = Object.assign({"Normal":"normal", "Left":"left", "Right":"right"}, contentPositionClasses,+ distributionClasses);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ test(function() {+ checkPlaceShorthandLonghands("place-content", "align-content", "justify-content", alignValue, justifyValue);+ }, "Checking place-content: " + alignValue + " " + justifyValue);+ }+ }+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.htmlnew file mode 100644index 00000000000..7bad9448bff--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/content-distribution/place-content-shorthand-006.html@@ -0,0 +1,30 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-content shorthand - Shorthand 'specified' and 'resolved' value</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#propdef-place-content" />+<meta name="assert" content="Check the place-content's 'specified' and 'resolved' values serialization." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<div id="test"></div>+<script>+ let classes = Object.assign({"Normal":"normal"}, contentPositionClasses, distributionClasses, baselineClasses);+ let computedClasses = Object.assign({"Normal":"normal"}, contentPositionComputedClasses, distributionClasses, baselineClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let expectedAlignValue = computedClasses[key1];+ let classes2 = Object.assign({"Normal":"normal", "Left":"left", "Right":"right"}, contentPositionClasses, distributionClasses);+ let computedClasses2 = Object.assign({"Normal":"normal", "Left":"left", "Right":"right"}, contentPositionComputedClasses, distributionClasses);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ let expectedJustifyValue = computedClasses2[key2];+ var value = (alignValue + " " + justifyValue).trim();+ test(function() {+ checkPlaceShorthand(+ "place-content", value, alignValue, justifyValue,+ expectedAlignValue, expectedJustifyValue)+ }, "Checking place-content: " + value);+ }+ }+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.htmlnew file mode 100644index 00000000000..c7b4b5cad3f--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-002.html@@ -0,0 +1,23 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-items shorthand - multiple values specified</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#place-items-property" />+<meta name="assert" content="Check that setting two values to place-items sets the first one to 'align-items' and the second one to 'justify-items'." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<script>+ let classes = Object.assign({"Normal":"normal", "Stretch":"stretch"}, selfPositionClasses, baselineClasses,+ overflowClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let classes2 = Object.assign({"Left":"left", "Right":"right"}, legacyClasses, classes);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ test(function() {+ checkPlaceShorthandLonghands("place-items", "align-items", "justify-items", alignValue, justifyValue);+ }, "Checking place-items: " + alignValue + " " + justifyValue);+ }+ }+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.htmlnew file mode 100644index 00000000000..039f0e32c53--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/default-alignment/place-items-shorthand-006.html@@ -0,0 +1,29 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-items shorthand - Shorthand 'specified' and 'resolved' value</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#place-items-property" />+<meta name="assert" content="Check the place-items's 'specified' and 'resolved' values serialization." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<script>+ let classes = Object.assign({"Normal":"normal", "Stretch":"stretch"}, selfPositionClasses, baselineClasses);+ let computedClasses = Object.assign({"Normal":"normal", "Stretch":"stretch"}, selfPositionComputedClasses, baselineClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let expectedAlignValue = computedClasses[key1];+ let classes2 = Object.assign({"Left":"left", "Right":"right"}, classes);+ let computedClasses2 = Object.assign({"Left":"left", "Right":"right"}, computedClasses);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ let expectedJustifyValue = computedClasses2[key2];+ var value = (alignValue + " " + justifyValue).trim();+ test(function() {+ checkPlaceShorthand(+ "place-items", value, alignValue, justifyValue,+ expectedAlignValue, expectedJustifyValue)+ }, "Checking place-items: " + value);+ }+ }+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/justify-items-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/justify-items-computed.htmlnew file mode 100644index 00000000000..defc8a2709e--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/justify-items-computed.html@@ -0,0 +1,60 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Box Alignment Level 3: getComputedStyle().justifyItems</title>+<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-items">+<meta name="assert" content="justify-items computed value is as specified.">+<meta name="assert" content="justify-items legacy depends on inherited value.">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+</head>+<body>+<div id="container">+ <div id="target"></div>+</div>+<script>+test_computed_value("justify-items", "normal");+test_computed_value("justify-items", "stretch");++test_computed_value("justify-items", "baseline");+test_computed_value("justify-items", "last baseline");++test_computed_value("justify-items", "center");+test_computed_value("justify-items", "start");+test_computed_value("justify-items", "end");+test_computed_value("justify-items", "self-start");+test_computed_value("justify-items", "self-end");+test_computed_value("justify-items", "flex-start", "flow-start");+test_computed_value("justify-items", "flex-end", "flow-end");+test_computed_value("justify-items", "flow-start");+test_computed_value("justify-items", "flow-end");+test_computed_value("justify-items", "safe flow-start");+test_computed_value("justify-items", "unsafe flow-end");+test_computed_value("justify-items", "unsafe center");+test_computed_value("justify-items", "safe self-end");+test_computed_value("justify-items", "right");+test_computed_value("justify-items", "safe left");++test_computed_value("justify-items", "legacy", "normal");+test_computed_value("justify-items", "legacy left");+test_computed_value("justify-items", "legacy right");+test_computed_value("justify-items", "legacy center");++test(() => {+ const container = document.getElementById('container');+ const target = document.getElementById('target');+ target.style.justifyItems = 'legacy';+ container.style.justifyItems = 'legacy left';+ assert_equals(getComputedStyle(target).justifyItems, 'legacy left');+ container.style.justifyItems = 'legacy right';+ assert_equals(getComputedStyle(target).justifyItems, 'legacy right');+ container.style.justifyItems = 'legacy center';+ assert_equals(getComputedStyle(target).justifyItems, 'legacy center');+ container.style.justifyItems = 'flex-end';+ assert_equals(getComputedStyle(target).justifyItems, 'normal');+}, 'justify-items legacy depends on inherited value');+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/place-items-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/place-items-computed.htmlnew file mode 100644index 00000000000..24ffc225a35--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/parsing/place-items-computed.html@@ -0,0 +1,58 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Box Alignment Level 3: getComputedStyle().placeItems</title>+<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-place-items">+<meta name="assert" content="place-items computed value is as specified.">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+<style>+ #grandparent {+ justify-items: legacy center;+ }+ #parent {+ justify-items: legacy;+ }+</style>+</head>+<body>+<div id="grandparent">+ <div id="parent">+ <div id="target"></div>+ </div>+<script>+test(() => {+ assert_equals(getComputedStyle(document.documentElement).placeItems, "normal");+}, "Initial value");++test_computed_value("place-items", "normal");+test_computed_value("place-items", "stretch stretch", "stretch");++test_computed_value("place-items", "first baseline", "baseline");+test_computed_value("place-items", "last baseline last baseline", "last baseline");++test_computed_value("place-items", "center");+test_computed_value("place-items", "end end", "end");+test_computed_value("place-items", "self-start");+test_computed_value("place-items", "flex-end", "flow-end");+test_computed_value("place-items", "unsafe center unsafe center", "unsafe center");+test_computed_value("place-items", "safe self-end");+test_computed_value("place-items", "flow-start");+test_computed_value("place-items", "flow-start flow-end");++test_computed_value("place-items", "stretch baseline");+test_computed_value("place-items", "last baseline center");+test_computed_value("place-items", "safe self-end normal");++test_computed_value("place-items", "normal right");+test_computed_value("place-items", "baseline unsafe left");++// When specified justify-items is legacy, computed value depends on inherited value.+test_computed_value("place-items", "flex-end legacy", "flow-end legacy center");+test_computed_value("place-items", "stretch legacy left");+test_computed_value("place-items", "first baseline right legacy", "baseline legacy right");+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/resources/alignment-parsing-utils.js b/Tests/LibWeb/Text/input/wpt-import/css/css-align/resources/alignment-parsing-utils.jsindex 2a77b4d79bd..d26d3f4da78 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-align/resources/alignment-parsing-utils.js+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/resources/alignment-parsing-utils.js@@ -5,6 +5,13 @@ var baselineClasses = {"Baseline":"baseline", "FirstBaseline":"first baseline",var overflowClasses = {"SafeFlexEnd":"safe flex-end", "UnsafeEnd":"unsafe end", "SafeEnd":"safe end", "UnsafeFlexStart":"unsafe flex-start", "SafeCenter":"safe center"};var legacyClasses = {"LegacyLeft":"legacy left", "LegacyCenter":"legacy center", "LegacyRight":"legacy right"};+// Computed-value companions for the maps above, keyed the same way. Only+// flex-start/flex-end canonicalize to flow-start/flow-end when computed;+// every other keyword's computed value equals its specified value.+var selfPositionComputedClasses = {"Start":"start", "End":"end", "SelfStart":"self-start", "SelfEnd":"self-end", "Center":"center", "FlexStart":"flow-start", "FlexEnd":"flow-end"};+var contentPositionComputedClasses = {"Start":"start", "End":"end", "Center":"center", "FlexStart":"flow-start", "FlexEnd":"flow-end"};+var overflowComputedClasses = {"SafeFlexEnd":"safe flow-end", "UnsafeEnd":"unsafe end", "SafeEnd":"safe end", "UnsafeFlexStart":"unsafe flow-start", "SafeCenter":"safe center"};+var invalidPositionValues = ["auto safe", "auto left", "normal unsafe", "normal stretch", "baseline normal","baseline center", "first baseline center", "last baseline center", "baseline last","baseline first", "stretch unsafe", "stretch right", "unsafe unsafe", "unsafe safe",@@ -17,7 +24,9 @@ var invalidDistributionValues = ["space-between left", "space-around center", "s"space-between safe", "space-between stretch", "stretch start","stretch baseline", "first baseline space-around"];-function checkPlaceShorhand(shorthand, shorthandValue, alignValue, justifyValue)+function checkPlaceShorthand(shorthand, shorthandValue, alignValue, justifyValue,+ expectedAlignValue = alignValue,+ expectedJustifyValue = justifyValue){var div = document.createElement("div");div.style[shorthand] = shorthandValue;@@ -29,15 +38,21 @@ function checkPlaceShorhand(shorthand, shorthandValue, alignValue, justifyValue)justifyValue = "baseline";if (justifyValue === "")justifyValue = alignValue;+ if (expectedAlignValue === "first baseline")+ expectedAlignValue = "baseline";+ if (expectedJustifyValue === "first baseline")+ expectedJustifyValue = "baseline";+ if (expectedJustifyValue === "")+ expectedJustifyValue = expectedAlignValue;let specifiedValue = (alignValue + " " + justifyValue).trim();if (alignValue === justifyValue)specifiedValue = alignValue;var resolvedValue = getComputedStyle(div).getPropertyValue(shorthand);- var expectedResolvedValue = (alignValue + " " + justifyValue).trim();- if (alignValue === justifyValue)- expectedResolvedValue = alignValue;+ var expectedResolvedValue = (expectedAlignValue + " " + expectedJustifyValue).trim();+ if (expectedAlignValue === expectedJustifyValue)+ expectedResolvedValue = expectedAlignValue;assert_equals(div.style[shorthand], specifiedValue, shorthandValue + " specified value");// FIXME: We need https://github.com/w3c/csswg-drafts/issues/1041 to clarify which@@ -45,7 +60,7 @@ function checkPlaceShorhand(shorthand, shorthandValue, alignValue, justifyValue)assert_in_array(resolvedValue, ["", expectedResolvedValue], shorthand + " resolved value");}-function checkPlaceShorhandLonghands(shorthand, alignLonghand, justifyLonghand, alignValue, justifyValue = "")+function checkPlaceShorthandLonghands(shorthand, alignLonghand, justifyLonghand, alignValue, justifyValue = ""){var div = document.createElement("div");div.setAttribute("style", shorthand + ": " + alignValue + " " + justifyValue);diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.htmlnew file mode 100644index 00000000000..08e41589f53--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-002.html@@ -0,0 +1,23 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-self shorthand - multiple values specified</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#place-self-property" />+<meta name="assert" content="Check that setting two values to place-self sets the first one to 'align-self' and the second one to 'justify-self'." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<script>+ let classes = Object.assign({"Auto":"auto", "Normal":"normal", "Stretch":"stretch"}, selfPositionClasses,+ baselineClasses, overflowClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let classes2 = Object.assign({"Left":"left", "Right":"right"}, classes);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ test(function() {+ checkPlaceShorthandLonghands("place-self", "align-self", "justify-self", alignValue, justifyValue);+ }, "Checking place-self: " + alignValue + " " + justifyValue);+ }+ }+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.html b/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.htmlnew file mode 100644index 00000000000..056605d7bc1--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-align/self-alignment/place-self-shorthand-006.html@@ -0,0 +1,31 @@+<!DOCTYPE html>+<title>CSS Box Alignment: place-self shorthand - Shorthand 'specified' and 'resolved' value</title>+<link rel="author" title="Javier Fernandez" href="mailto:[email protected]" />+<link rel="help" href="http://www.w3.org/TR/css3-align/#place-self-property" />+<meta name="assert" content="Check the place-self's 'specified' and 'resolved' values serialization." />+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/css-align/resources/alignment-parsing-utils.js"></script>+<div id="log"></div>+<script>+ let classes = Object.assign({"Auto":"auto", "Normal":"normal", "Stretch":"stretch"}, selfPositionClasses,+ baselineClasses);+ let computedClasses = Object.assign({"Auto":"auto", "Normal":"normal", "Stretch":"stretch"}, selfPositionComputedClasses,+ baselineClasses);+ for (var key1 in classes) {+ let alignValue = classes[key1];+ let expectedAlignValue = computedClasses[key1];+ let classes2 = Object.assign({"Left":"left", "Right":"right"}, classes);+ let computedClasses2 = Object.assign({"Left":"left", "Right":"right"}, computedClasses);+ for (var key2 in classes2) {+ let justifyValue = classes2[key2];+ let expectedJustifyValue = computedClasses2[key2];+ var value = (alignValue + " " + justifyValue).trim();+ test(function() {+ checkPlaceShorthand(+ "place-self", value, alignValue, justifyValue,+ expectedAlignValue, expectedJustifyValue)+ }, "Checking place-self: " + value);+ }+ }+</script>