Run same tests for layout-2020 and layout-2013 (#30092)

Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.

So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
This commit is contained in:
Oriol Brufau 2023-08-15 02:28:32 +02:00 committed by GitHub
parent 78c7011240
commit 963104e5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4797 changed files with 679983 additions and 5390 deletions

View file

@ -0,0 +1,15 @@
[column-gap-computed.html]
[Property column-gap value 'normal']
expected: FAIL
[Property column-gap value 'calc(10px + 0.5em)']
expected: FAIL
[Property column-gap value 'calc(10px - 0.5em)']
expected: FAIL
[Property column-gap value '40%']
expected: FAIL
[Property column-gap value 'calc(50% + 60px)']
expected: FAIL

View file

@ -0,0 +1,18 @@
[column-gap-valid.html]
[e.style['column-gap'\] = "normal" should set the property value]
expected: FAIL
[e.style['column-gap'\] = "0" should set the property value]
expected: FAIL
[e.style['column-gap'\] = "1px" should set the property value]
expected: FAIL
[e.style['column-gap'\] = "calc(2em + 3ex)" should set the property value]
expected: FAIL
[e.style['column-gap'\] = "4%" should set the property value]
expected: FAIL
[e.style['column-gap'\] = "5vmin" should set the property value]
expected: FAIL

View file

@ -0,0 +1,33 @@
[gap-computed.html]
[Property gap value 'normal']
expected: FAIL
[Property gap value '10px']
expected: FAIL
[Property gap value '20%']
expected: FAIL
[Property gap value 'calc(20% + 10px)']
expected: FAIL
[Property gap value 'calc(-0.5em + 10px)']
expected: FAIL
[Property gap value 'calc(0.5em + 10px)']
expected: FAIL
[Property gap value 'normal 10px']
expected: FAIL
[Property gap value '10px 20%']
expected: FAIL
[Property gap value '20% calc(20% + 10px)']
expected: FAIL
[Property gap value 'calc(20% + 10px) normal']
expected: FAIL
[Property gap value 'calc(-0.5em + 10px) calc(0.5em + 10px)']
expected: FAIL

View file

@ -0,0 +1,36 @@
[gap-shorthand.html]
[e.style['gap'\] = "normal" should set column-gap]
expected: FAIL
[e.style['gap'\] = "normal" should set row-gap]
expected: FAIL
[e.style['gap'\] = "normal" should not set unrelated longhands]
expected: FAIL
[e.style['gap'\] = "10px 20%" should set column-gap]
expected: FAIL
[e.style['gap'\] = "10px 20%" should set row-gap]
expected: FAIL
[e.style['gap'\] = "10px 20%" should not set unrelated longhands]
expected: FAIL
[e.style['gap'\] = "10px normal" should set column-gap]
expected: FAIL
[e.style['gap'\] = "10px normal" should set row-gap]
expected: FAIL
[e.style['gap'\] = "10px normal" should not set unrelated longhands]
expected: FAIL
[e.style['gap'\] = "normal calc(20% + 10px)" should set column-gap]
expected: FAIL
[e.style['gap'\] = "normal calc(20% + 10px)" should set row-gap]
expected: FAIL
[e.style['gap'\] = "normal calc(20% + 10px)" should not set unrelated longhands]
expected: FAIL

View file

@ -0,0 +1,27 @@
[gap-valid.html]
[e.style['gap'\] = "normal normal" should set the property value]
expected: FAIL
[e.style['gap'\] = "10px 10px" should set the property value]
expected: FAIL
[e.style['gap'\] = "20% 20%" should set the property value]
expected: FAIL
[e.style['gap'\] = "calc(20% + 10px) calc(20% + 10px)" should set the property value]
expected: FAIL
[e.style['gap'\] = "normal 10px" should set the property value]
expected: FAIL
[e.style['gap'\] = "10px 20%" should set the property value]
expected: FAIL
[e.style['gap'\] = "20% calc(20% + 10px)" should set the property value]
expected: FAIL
[e.style['gap'\] = "calc(20% + 10px) 0px" should set the property value]
expected: FAIL
[e.style['gap'\] = "0px normal" should set the property value]
expected: FAIL

View file

@ -0,0 +1,60 @@
[justify-items-computed.html]
[Property justify-items value 'normal']
expected: FAIL
[Property justify-items value 'stretch']
expected: FAIL
[Property justify-items value 'baseline']
expected: FAIL
[Property justify-items value 'last baseline']
expected: FAIL
[Property justify-items value 'center']
expected: FAIL
[Property justify-items value 'start']
expected: FAIL
[Property justify-items value 'end']
expected: FAIL
[Property justify-items value 'self-start']
expected: FAIL
[Property justify-items value 'self-end']
expected: FAIL
[Property justify-items value 'flex-start']
expected: FAIL
[Property justify-items value 'flex-end']
expected: FAIL
[Property justify-items value 'unsafe center']
expected: FAIL
[Property justify-items value 'safe self-end']
expected: FAIL
[Property justify-items value 'right']
expected: FAIL
[Property justify-items value 'safe left']
expected: FAIL
[Property justify-items value 'legacy']
expected: FAIL
[Property justify-items value 'legacy left']
expected: FAIL
[Property justify-items value 'legacy right']
expected: FAIL
[Property justify-items value 'legacy center']
expected: FAIL
[justify-items legacy depends on inherited value]
expected: FAIL

View file

@ -0,0 +1,60 @@
[justify-items-valid.html]
[e.style['justify-items'\] = "normal" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "stretch" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "baseline" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "first baseline" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "last baseline" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "center" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "start" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "end" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "self-start" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "self-end" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "flex-start" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "flex-end" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "unsafe center" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "safe self-end" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "right" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "safe left" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "legacy" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "left legacy" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "right legacy" should set the property value]
expected: FAIL
[e.style['justify-items'\] = "center legacy" should set the property value]
expected: FAIL

View file

@ -0,0 +1,48 @@
[justify-self-computed.html]
[Property justify-self value 'auto']
expected: FAIL
[Property justify-self value 'normal']
expected: FAIL
[Property justify-self value 'stretch']
expected: FAIL
[Property justify-self value 'baseline']
expected: FAIL
[Property justify-self value 'last baseline']
expected: FAIL
[Property justify-self value 'center']
expected: FAIL
[Property justify-self value 'start']
expected: FAIL
[Property justify-self value 'end']
expected: FAIL
[Property justify-self value 'self-start']
expected: FAIL
[Property justify-self value 'self-end']
expected: FAIL
[Property justify-self value 'flex-start']
expected: FAIL
[Property justify-self value 'flex-end']
expected: FAIL
[Property justify-self value 'unsafe center']
expected: FAIL
[Property justify-self value 'safe self-end']
expected: FAIL
[Property justify-self value 'left']
expected: FAIL
[Property justify-self value 'unsafe right']
expected: FAIL

View file

@ -0,0 +1,51 @@
[justify-self-valid.html]
[e.style['justify-self'\] = "auto" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "normal" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "stretch" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "baseline" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "first baseline" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "last baseline" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "center" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "start" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "end" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "self-start" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "self-end" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "flex-start" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "flex-end" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "unsafe center" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "safe self-end" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "left" should set the property value]
expected: FAIL
[e.style['justify-self'\] = "unsafe right" should set the property value]
expected: FAIL

View file

@ -0,0 +1,69 @@
[place-content-computed.html]
[Property place-content value 'normal normal']
expected: FAIL
[Property place-content value 'first baseline']
expected: FAIL
[Property place-content value 'baseline']
expected: FAIL
[Property place-content value 'first baseline start']
expected: FAIL
[Property place-content value 'last baseline']
expected: FAIL
[Property place-content value 'first baseline stretch']
expected: FAIL
[Property place-content value 'last baseline flex-start']
expected: FAIL
[Property place-content value 'baseline stretch']
expected: FAIL
[Property place-content value 'space-between']
expected: FAIL
[Property place-content value 'space-around']
expected: FAIL
[Property place-content value 'space-evenly']
expected: FAIL
[Property place-content value 'stretch']
expected: FAIL
[Property place-content value 'center']
expected: FAIL
[Property place-content value 'end']
expected: FAIL
[Property place-content value 'flex-start flex-start']
expected: FAIL
[Property place-content value 'unsafe end unsafe end']
expected: FAIL
[Property place-content value 'safe flex-start']
expected: FAIL
[Property place-content value 'normal stretch']
expected: FAIL
[Property place-content value 'baseline space-around']
expected: FAIL
[Property place-content value 'space-evenly unsafe end']
expected: FAIL
[Property place-content value 'center normal']
expected: FAIL
[Property place-content value 'normal right']
expected: FAIL
[Property place-content value 'baseline unsafe left']
expected: FAIL

View file

@ -0,0 +1,45 @@
[place-content-shorthand.html]
[e.style['place-content'\] = "normal" should set align-content]
expected: FAIL
[e.style['place-content'\] = "normal" should set justify-content]
expected: FAIL
[e.style['place-content'\] = "normal" should not set unrelated longhands]
expected: FAIL
[e.style['place-content'\] = "first baseline" should set align-content]
expected: FAIL
[e.style['place-content'\] = "first baseline" should set justify-content]
expected: FAIL
[e.style['place-content'\] = "first baseline" should not set unrelated longhands]
expected: FAIL
[e.style['place-content'\] = "last baseline flex-start" should set align-content]
expected: FAIL
[e.style['place-content'\] = "last baseline flex-start" should set justify-content]
expected: FAIL
[e.style['place-content'\] = "last baseline flex-start" should not set unrelated longhands]
expected: FAIL
[e.style['place-content'\] = "space-around" should set align-content]
expected: FAIL
[e.style['place-content'\] = "space-around" should set justify-content]
expected: FAIL
[e.style['place-content'\] = "space-around" should not set unrelated longhands]
expected: FAIL
[e.style['place-content'\] = "space-evenly unsafe end" should set align-content]
expected: FAIL
[e.style['place-content'\] = "space-evenly unsafe end" should set justify-content]
expected: FAIL
[e.style['place-content'\] = "space-evenly unsafe end" should not set unrelated longhands]
expected: FAIL

View file

@ -0,0 +1,69 @@
[place-content-valid.html]
[e.style['place-content'\] = "normal normal" should set the property value]
expected: FAIL
[e.style['place-content'\] = "first baseline" should set the property value]
expected: FAIL
[e.style['place-content'\] = "baseline" should set the property value]
expected: FAIL
[e.style['place-content'\] = "first baseline start" should set the property value]
expected: FAIL
[e.style['place-content'\] = "last baseline" should set the property value]
expected: FAIL
[e.style['place-content'\] = "first baseline stretch" should set the property value]
expected: FAIL
[e.style['place-content'\] = "last baseline flex-start" should set the property value]
expected: FAIL
[e.style['place-content'\] = "baseline stretch" should set the property value]
expected: FAIL
[e.style['place-content'\] = "space-between" should set the property value]
expected: FAIL
[e.style['place-content'\] = "space-around" should set the property value]
expected: FAIL
[e.style['place-content'\] = "space-evenly" should set the property value]
expected: FAIL
[e.style['place-content'\] = "stretch" should set the property value]
expected: FAIL
[e.style['place-content'\] = "center" should set the property value]
expected: FAIL
[e.style['place-content'\] = "end" should set the property value]
expected: FAIL
[e.style['place-content'\] = "flex-start flex-start" should set the property value]
expected: FAIL
[e.style['place-content'\] = "unsafe end unsafe end" should set the property value]
expected: FAIL
[e.style['place-content'\] = "safe flex-start" should set the property value]
expected: FAIL
[e.style['place-content'\] = "normal stretch" should set the property value]
expected: FAIL
[e.style['place-content'\] = "baseline space-around" should set the property value]
expected: FAIL
[e.style['place-content'\] = "space-evenly unsafe end" should set the property value]
expected: FAIL
[e.style['place-content'\] = "center normal" should set the property value]
expected: FAIL
[e.style['place-content'\] = "normal right" should set the property value]
expected: FAIL
[e.style['place-content'\] = "baseline unsafe left" should set the property value]
expected: FAIL

View file

@ -0,0 +1,54 @@
[place-items-computed.html]
[Property place-items value 'normal']
expected: FAIL
[Property place-items value 'stretch stretch']
expected: FAIL
[Property place-items value 'first baseline']
expected: FAIL
[Property place-items value 'last baseline last baseline']
expected: FAIL
[Property place-items value 'center']
expected: FAIL
[Property place-items value 'end end']
expected: FAIL
[Property place-items value 'self-start']
expected: FAIL
[Property place-items value 'flex-end']
expected: FAIL
[Property place-items value 'unsafe center unsafe center']
expected: FAIL
[Property place-items value 'safe self-end']
expected: FAIL
[Property place-items value 'stretch baseline']
expected: FAIL
[Property place-items value 'last baseline center']
expected: FAIL
[Property place-items value 'safe self-end normal']
expected: FAIL
[Property place-items value 'normal right']
expected: FAIL
[Property place-items value 'baseline unsafe left']
expected: FAIL
[Property place-items value 'flex-end legacy']
expected: FAIL
[Property place-items value 'stretch legacy left']
expected: FAIL
[Property place-items value 'first baseline right legacy']
expected: FAIL

View file

@ -0,0 +1,36 @@
[place-items-shorthand.html]
[e.style['place-items'\] = "normal" should set align-items]
expected: FAIL
[e.style['place-items'\] = "normal" should set justify-items]
expected: FAIL
[e.style['place-items'\] = "normal" should not set unrelated longhands]
expected: FAIL
[e.style['place-items'\] = "first baseline" should set align-items]
expected: FAIL
[e.style['place-items'\] = "first baseline" should set justify-items]
expected: FAIL
[e.style['place-items'\] = "first baseline" should not set unrelated longhands]
expected: FAIL
[e.style['place-items'\] = "last baseline flex-start" should set align-items]
expected: FAIL
[e.style['place-items'\] = "last baseline flex-start" should set justify-items]
expected: FAIL
[e.style['place-items'\] = "last baseline flex-start" should not set unrelated longhands]
expected: FAIL
[e.style['place-items'\] = "stretch right legacy" should set align-items]
expected: FAIL
[e.style['place-items'\] = "stretch right legacy" should set justify-items]
expected: FAIL
[e.style['place-items'\] = "stretch right legacy" should not set unrelated longhands]
expected: FAIL

View file

@ -0,0 +1,54 @@
[place-items-valid.html]
[e.style['place-items'\] = "normal" should set the property value]
expected: FAIL
[e.style['place-items'\] = "stretch stretch" should set the property value]
expected: FAIL
[e.style['place-items'\] = "first baseline" should set the property value]
expected: FAIL
[e.style['place-items'\] = "last baseline last baseline" should set the property value]
expected: FAIL
[e.style['place-items'\] = "center" should set the property value]
expected: FAIL
[e.style['place-items'\] = "end end" should set the property value]
expected: FAIL
[e.style['place-items'\] = "self-start" should set the property value]
expected: FAIL
[e.style['place-items'\] = "flex-end" should set the property value]
expected: FAIL
[e.style['place-items'\] = "unsafe center unsafe center" should set the property value]
expected: FAIL
[e.style['place-items'\] = "safe self-end" should set the property value]
expected: FAIL
[e.style['place-items'\] = "stretch baseline" should set the property value]
expected: FAIL
[e.style['place-items'\] = "last baseline center" should set the property value]
expected: FAIL
[e.style['place-items'\] = "safe self-end normal" should set the property value]
expected: FAIL
[e.style['place-items'\] = "normal right" should set the property value]
expected: FAIL
[e.style['place-items'\] = "baseline unsafe left" should set the property value]
expected: FAIL
[e.style['place-items'\] = "flex-end legacy" should set the property value]
expected: FAIL
[e.style['place-items'\] = "stretch legacy left" should set the property value]
expected: FAIL
[e.style['place-items'\] = "first baseline right legacy" should set the property value]
expected: FAIL

View file

@ -0,0 +1,48 @@
[place-self-computed.html]
[Property place-self value 'auto auto']
expected: FAIL
[Property place-self value 'normal']
expected: FAIL
[Property place-self value 'stretch']
expected: FAIL
[Property place-self value 'first baseline']
expected: FAIL
[Property place-self value 'last baseline last baseline']
expected: FAIL
[Property place-self value 'center center']
expected: FAIL
[Property place-self value 'start']
expected: FAIL
[Property place-self value 'self-start']
expected: FAIL
[Property place-self value 'flex-end']
expected: FAIL
[Property place-self value 'unsafe center']
expected: FAIL
[Property place-self value 'safe self-end safe self-end']
expected: FAIL
[Property place-self value 'auto last baseline']
expected: FAIL
[Property place-self value 'baseline flex-end']
expected: FAIL
[Property place-self value 'unsafe center stretch']
expected: FAIL
[Property place-self value 'normal right']
expected: FAIL
[Property place-self value 'baseline unsafe left']
expected: FAIL

View file

@ -0,0 +1,36 @@
[place-self-shorthand.html]
[e.style['place-self'\] = "normal" should set align-self]
expected: FAIL
[e.style['place-self'\] = "normal" should set justify-self]
expected: FAIL
[e.style['place-self'\] = "normal" should not set unrelated longhands]
expected: FAIL
[e.style['place-self'\] = "first baseline" should set align-self]
expected: FAIL
[e.style['place-self'\] = "first baseline" should set justify-self]
expected: FAIL
[e.style['place-self'\] = "first baseline" should not set unrelated longhands]
expected: FAIL
[e.style['place-self'\] = "last baseline flex-start" should set align-self]
expected: FAIL
[e.style['place-self'\] = "last baseline flex-start" should set justify-self]
expected: FAIL
[e.style['place-self'\] = "last baseline flex-start" should not set unrelated longhands]
expected: FAIL
[e.style['place-self'\] = "unsafe self-start stretch" should set align-self]
expected: FAIL
[e.style['place-self'\] = "unsafe self-start stretch" should set justify-self]
expected: FAIL
[e.style['place-self'\] = "unsafe self-start stretch" should not set unrelated longhands]
expected: FAIL

View file

@ -0,0 +1,48 @@
[place-self-valid.html]
[e.style['place-self'\] = "auto auto" should set the property value]
expected: FAIL
[e.style['place-self'\] = "normal" should set the property value]
expected: FAIL
[e.style['place-self'\] = "stretch" should set the property value]
expected: FAIL
[e.style['place-self'\] = "first baseline" should set the property value]
expected: FAIL
[e.style['place-self'\] = "last baseline last baseline" should set the property value]
expected: FAIL
[e.style['place-self'\] = "center center" should set the property value]
expected: FAIL
[e.style['place-self'\] = "start" should set the property value]
expected: FAIL
[e.style['place-self'\] = "self-start" should set the property value]
expected: FAIL
[e.style['place-self'\] = "flex-end" should set the property value]
expected: FAIL
[e.style['place-self'\] = "unsafe center" should set the property value]
expected: FAIL
[e.style['place-self'\] = "safe self-end safe self-end" should set the property value]
expected: FAIL
[e.style['place-self'\] = "auto last baseline" should set the property value]
expected: FAIL
[e.style['place-self'\] = "baseline flex-end" should set the property value]
expected: FAIL
[e.style['place-self'\] = "unsafe center stretch" should set the property value]
expected: FAIL
[e.style['place-self'\] = "normal right" should set the property value]
expected: FAIL
[e.style['place-self'\] = "baseline unsafe left" should set the property value]
expected: FAIL

View file

@ -0,0 +1,18 @@
[row-gap-computed.html]
[Property row-gap value 'normal']
expected: FAIL
[Property row-gap value '10px']
expected: FAIL
[Property row-gap value '20%']
expected: FAIL
[Property row-gap value 'calc(20% + 10px)']
expected: FAIL
[Property row-gap value 'calc(-0.5em + 10px)']
expected: FAIL
[Property row-gap value 'calc(0.5em + 10px)']
expected: FAIL

View file

@ -0,0 +1,15 @@
[row-gap-valid.html]
[e.style['row-gap'\] = "normal" should set the property value]
expected: FAIL
[e.style['row-gap'\] = "10px" should set the property value]
expected: FAIL
[e.style['row-gap'\] = "20%" should set the property value]
expected: FAIL
[e.style['row-gap'\] = "calc(20% + 10px)" should set the property value]
expected: FAIL
[e.style['row-gap'\] = "0" should set the property value]
expected: FAIL