mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
layout: Port border-image
support for legacy layout (#32874)
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
29a4cca42d
commit
e23dc0bf6f
48 changed files with 295 additions and 338 deletions
|
@ -1,2 +0,0 @@
|
|||
[border-image-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-003.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-004.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-006.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-007.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-012.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-013.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-017.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-018.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-019.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-020.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-calc.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-displayed-with-transparent-border-color.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-001.htm.ini
vendored
Normal file
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-001.htm.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[border-image-image-type-001.htm]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-002.htm.ini
vendored
Normal file
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-002.htm.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[border-image-image-type-002.htm]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-004.htm.ini
vendored
Normal file
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-004.htm.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[border-image-image-type-004.htm]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-005.htm.ini
vendored
Normal file
2
tests/wpt/meta/css/css-backgrounds/border-image-image-type-005.htm.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[border-image-image-type-005.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-repeat-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-round-1.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-round-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-round.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-space-4-ref-1.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-space-4.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-space-5-ref-1.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-repeat-space-6.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-round-and-stretch.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-shorthand-002.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-004.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-005.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-006.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-007.htm]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-fill-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-fill-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[border-image-slice-percentage.html]
|
||||
expected: FAIL
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
[css3-border-image-repeat-stretch.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[css3-border-image-source.html]
|
||||
expected: FAIL
|
|
@ -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
|
|
@ -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
|
2
tests/wpt/meta/css/css-images/image-orientation/image-orientation-border-image.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-images/image-orientation/image-orientation-border-image.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[image-orientation-border-image.html]
|
||||
expected: FAIL
|
|
@ -1,15 +1,3 @@
|
|||
[shorthand-values.html]
|
||||
[The serialization of border: 1px; border-top: 2px; should be canonical.]
|
||||
expected: FAIL
|
||||
|
||||
[The serialization of list-style-type: circle; list-style-position: inside; list-style-image: initial; should be canonical.]
|
||||
expected: FAIL
|
||||
|
||||
[The serialization of border: 1px; border-top-color: red; should be canonical.]
|
||||
expected: FAIL
|
||||
|
||||
[The serialization of border: 1px; border-top: 1px !important; should be canonical.]
|
||||
expected: FAIL
|
||||
|
||||
[The serialization of border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; border-image: none; should be canonical.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[get-computed-style-for-url.html]
|
||||
[getComputedStyle(elem) and elem.style for url() borderImage correctly return "none"]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle(elem) for url() borderImage uses the resolved URL and elem.style uses the original URL]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue