layout: Port border-image support for legacy layout (#32874)

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-07-30 08:41:23 +02:00 committed by GitHub
parent 29a4cca42d
commit e23dc0bf6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 295 additions and 338 deletions

View file

@ -1,2 +0,0 @@
[border-image-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-012.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-013.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-017.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-019.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-020.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-calc.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-displayed-with-transparent-border-color.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[border-image-image-type-001.htm]
expected: FAIL

View file

@ -0,0 +1,2 @@
[border-image-image-type-002.htm]
expected: FAIL

View file

@ -0,0 +1,2 @@
[border-image-image-type-004.htm]
expected: FAIL

View file

@ -0,0 +1,2 @@
[border-image-image-type-005.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-repeat-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-round-1.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-round-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-round.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-space-4-ref-1.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-space-4.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-space-5-ref-1.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-repeat-space-6.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-round-and-stretch.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-shorthand-002.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-004.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-005.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-006.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-007.htm]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-fill-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-fill-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[border-image-slice-percentage.html]
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-image-slice-shorthand-reset.html]
[Check that the border-image shorthand resets border-image-slice to its initial value.]
expected: FAIL

View file

@ -1,2 +0,0 @@
[css3-border-image-repeat-stretch.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[css3-border-image-source.html]
expected: FAIL

View file

@ -1,90 +0,0 @@
[border-image-shorthand.sub.html]
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should set border-image-slice]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should set border-image-outset]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set border-image-outset]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should set border-image-width]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should not set unrelated longhands]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should set border-image-outset]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should set border-image-outset]
expected: FAIL
[e.style['border-image'\] = "none" should set border-image-outset]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should set border-image-source]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should not set unrelated longhands]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set border-image-repeat]
expected: FAIL
[e.style['border-image'\] = "repeat round" should not set unrelated longhands]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should set border-image-repeat]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should set border-image-slice]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set border-image-source]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set border-image-slice]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should set border-image-source]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should set border-image-width]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should set border-image-repeat]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 5% / 6" should set border-image-width]
expected: FAIL
[e.style['border-image'\] = "none" should not set unrelated longhands]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should set border-image-repeat]
expected: FAIL
[e.style['border-image'\] = "none" should set border-image-source]
expected: FAIL
[e.style['border-image'\] = "none" should set border-image-width]
expected: FAIL
[e.style['border-image'\] = "none" should set border-image-repeat]
expected: FAIL
[e.style['border-image'\] = "none" should set border-image-slice]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should set border-image-source]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") fill 1 2% 3 4%" should not set unrelated longhands]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set border-image-width]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://web-platform.test/\\") 1 2 3 4 fill" should set border-image-slice]
expected: FAIL

View file

@ -1,90 +0,0 @@
[border-image-valid.html]
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") 1 2% 3 4% fill / / 1px 2 3px 4" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% fill / 3 / 1px 2 3px 4" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") 1 2% 3 4%" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none 100% / 1 / 0 space" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none 100% / 1 / 0 stretch" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 / auto / 1px" should set the property value]
expected: FAIL
[e.style['border-image'\] = "fill 1 2% 3 4% / auto" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 2% / 2" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none repeat round" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none 1 1 1 1" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none 1 / 1 / 0 stretch" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / / 2" should set the property value]
expected: FAIL
[e.style['border-image'\] = "space" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\")" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 2%" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") 1 2 3 4 fill / 1 / 0 stretch" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") 1 2% 3 4% fill" should set the property value]
expected: FAIL
[e.style['border-image'\] = "repeat round" should set the property value]
expected: FAIL
[e.style['border-image'\] = "none space space" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 / 1px" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 / 1px 2% 3 auto" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 / 1px / 1px" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% fill / 3" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") fill 1 2% 3 4%" should set the property value]
expected: FAIL
[e.style['border-image'\] = "url(\\"http://www.example.com/\\") 1 2 3 4 fill" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 2% 3 4% / 1px 2% 3 auto / 2" should set the property value]
expected: FAIL
[e.style['border-image'\] = "1 / / 1px" should set the property value]
expected: FAIL
[e.style['border-image'\] = "stretch" should set the property value]
expected: FAIL