Enable flexbox for css-align tests (#32890)

Some css-align features like gaps or alignment properties need to have
some effect on flex layout.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Oriol Brufau 2024-07-31 00:01:58 +02:00 committed by GitHub
parent c69d59259e
commit f86493cd7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 1 additions and 1502 deletions

View file

@ -1,15 +0,0 @@
[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

@ -1,18 +0,0 @@
[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

@ -1,33 +0,0 @@
[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

@ -1,36 +0,0 @@
[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

@ -1,27 +0,0 @@
[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

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

View file

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

View file

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

View file

@ -1,36 +0,0 @@
[grid-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 grid-column-gap]
expected: FAIL
[e.style['gap'\] = "normal calc(20% + 10px)" should set grid-row-gap]
expected: FAIL
[e.style['gap'\] = "normal calc(20% + 10px)" should not set unrelated longhands]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -1,18 +0,0 @@
[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

@ -1,15 +0,0 @@
[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