Tests: Synchronize imported tests with the WPT repository

This commit is contained in:
Tim Ledbetter
2025-06-21 15:43:33 +01:00
committed by Alexander Kalenik
parent 11e5cd5048
commit 689dff3ee8
Notes: github-actions[bot] 2025-06-22 21:52:43 +00:00
155 changed files with 1485 additions and 750 deletions

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 14 tests
Found 15 tests
14 Pass
15 Pass
Pass e.style['contain'] = "auto" should not set the property value
Pass e.style['contain'] = "layout layout" should not set the property value
Pass e.style['contain'] = "strict layout" should not set the property value
@@ -16,4 +16,5 @@ Pass e.style['contain'] = "strict content" should not set the property value
Pass e.style['contain'] = "size layout size" should not set the property value
Pass e.style['contain'] = "paint content" should not set the property value
Pass e.style['contain'] = "size inline-size" should not set the property value
Pass e.style['contain'] = "inline-size inline-size" should not set the property value
Pass e.style['contain'] = "inline-size inline-size" should not set the property value
Pass e.style['contain'] = "view-transition view-transition" should not set the property value

View File

@@ -1,9 +1,11 @@
Harness status: OK
Found 4 tests
Found 6 tests
4 Pass
6 Pass
Pass e.style['flex'] = "none 1" should not set the property value
Pass e.style['flex'] = "2 3 4" should not set the property value
Pass e.style['flex'] = "5px 7%" should not set the property value
Pass e.style['flex'] = "9 none" should not set the property value
Pass e.style['flex'] = "9 none" should not set the property value
Pass e.style['flex'] = "1 2 calc(0)" should not set the property value
Pass e.style['flex'] = "1 2 calc(3 - 3)" should not set the property value

View File

@@ -1,11 +1,22 @@
Harness status: OK
Found 6 tests
Found 16 tests
6 Pass
14 Pass
2 Fail
Pass e.style['flex'] = "none" should set the property value
Pass e.style['flex'] = "1" should set the property value
Pass e.style['flex'] = "2 3" should set the property value
Pass e.style['flex'] = "4 5 6px" should set the property value
Pass e.style['flex'] = "6px 4 5" should set the property value
Pass e.style['flex'] = "6px 4" should set the property value
Pass e.style['flex'] = "6px" should set the property value
Pass e.style['flex'] = "7% 8" should set the property value
Pass e.style['flex'] = "8 auto" should set the property value
Pass e.style['flex'] = "8 auto" should set the property value
Pass e.style['flex'] = "1 1 10em" should set the property value
Pass e.style['flex'] = "1 1 calc(10em)" should set the property value
Pass e.style['flex'] = "1 1 calc(-10em)" should set the property value
Fail e.style['flex'] = "calc(10 + (sign(20cqw - 10px) * 5)) calc(10 + (sign(20cqw - 10px) * 5)) 1px" should set the property value
Fail e.style['flex'] = "1 1 calc(10px + (sign(20cqw - 10px) * 5px))" should set the property value
Pass e.style['flex'] = "calc(1) calc(2 + 1) calc(3px)" should set the property value
Pass e.style['flex'] = "calc(-1) calc(-1) 0" should set the property value

View File

@@ -1,9 +1,9 @@
Harness status: OK
Found 26 tests
Found 27 tests
1 Pass
25 Fail
26 Fail
Fail CSS Fonts Module Level 4: parsing @font-palette-values
Fail CSS Fonts Module Level 4: parsing @font-palette-values 1
Fail CSS Fonts Module Level 4: parsing @font-palette-values 2
@@ -29,4 +29,5 @@ Fail CSS Fonts Module Level 4: parsing @font-palette-values 21
Fail CSS Fonts Module Level 4: parsing @font-palette-values 22
Fail CSS Fonts Module Level 4: parsing @font-palette-values 23
Fail CSS Fonts Module Level 4: parsing @font-palette-values 24
Fail CSS Fonts Module Level 4: parsing @font-palette-values 25
Fail CSS Fonts Module Level 4: parsing @font-palette-values 25
Fail sibling-index() is invalid in base-palette descriptor

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 15 tests
Found 17 tests
12 Pass
14 Pass
3 Fail
Pass Property font-style value 'normal'
Pass Property font-style value 'italic'
@@ -11,6 +11,8 @@ Pass Property font-style value 'oblique 0deg'
Pass Property font-style value 'oblique calc(10deg - 10deg)'
Pass Property font-style value 'oblique 10deg'
Pass Property font-style value 'oblique -10deg'
Pass Property font-style value 'oblique 14deg'
Pass Property font-style value 'oblique -14deg'
Pass Property font-style value 'oblique -90deg'
Pass Property font-style value 'oblique 90deg'
Pass Property font-style value 'oblique 10grad'

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 15 tests
Found 17 tests
14 Pass
16 Pass
1 Fail
Pass e.style['font-style'] = "normal" should set the property value
Pass e.style['font-style'] = "italic" should set the property value
@@ -11,6 +11,8 @@ Pass e.style['font-style'] = "oblique 0deg" should set the property value
Pass e.style['font-style'] = "oblique calc(10deg - 10deg)" should set the property value
Pass e.style['font-style'] = "oblique 10deg" should set the property value
Pass e.style['font-style'] = "oblique -10deg" should set the property value
Pass e.style['font-style'] = "oblique 14deg" should set the property value
Pass e.style['font-style'] = "oblique -14deg" should set the property value
Pass e.style['font-style'] = "oblique -90deg" should set the property value
Pass e.style['font-style'] = "oblique 90deg" should set the property value
Pass e.style['font-style'] = "oblique 10grad" should set the property value

View File

@@ -1,19 +1,26 @@
Harness status: OK
Found 14 tests
Found 21 tests
14 Fail
21 Fail
Fail Property font-synthesis value 'none'
Fail Property font-synthesis value 'weight'
Fail Property font-synthesis value 'style'
Fail Property font-synthesis value 'oblique-only'
Fail Property font-synthesis value 'small-caps'
Fail Property font-synthesis value 'position'
Fail Property font-synthesis value 'small-caps position'
Fail Property font-synthesis value 'style small-caps'
Fail Property font-synthesis value 'style position'
Fail Property font-synthesis value 'style small-caps position'
Fail Property font-synthesis value 'oblique-only small-caps'
Fail Property font-synthesis value 'oblique-only position'
Fail Property font-synthesis value 'oblique-only small-caps position'
Fail Property font-synthesis value 'weight small-caps'
Fail Property font-synthesis value 'weight style'
Fail Property font-synthesis value 'weight oblique-only'
Fail Property font-synthesis value 'weight position'
Fail Property font-synthesis value 'weight style small-caps'
Fail Property font-synthesis value 'weight style small-caps position'
Fail Property font-synthesis value 'weight style small-caps position'
Fail Property font-synthesis value 'weight oblique-only small-caps'
Fail Property font-synthesis value 'weight oblique-only small-caps position'

View File

@@ -1,13 +1,17 @@
Harness status: OK
Found 8 tests
Found 12 tests
8 Pass
12 Pass
Pass e.style['font-synthesis'] = "auto" should not set the property value
Pass e.style['font-synthesis'] = "none weight" should not set the property value
Pass e.style['font-synthesis'] = "none style" should not set the property value
Pass e.style['font-synthesis'] = "none oblique-only" should not set the property value
Pass e.style['font-synthesis'] = "none position" should not set the property value
Pass e.style['font-synthesis'] = "style none" should not set the property value
Pass e.style['font-synthesis'] = "style oblique-only" should not set the property value
Pass e.style['font-synthesis'] = "oblique-only style" should not set the property value
Pass e.style['font-synthesis'] = "oblique-only none" should not set the property value
Pass e.style['font-synthesis'] = "none small-caps" should not set the property value
Pass e.style['font-synthesis'] = "small-caps none" should not set the property value
Pass e.style['font-synthesis'] = "position none" should not set the property value

View File

@@ -1,7 +1,9 @@
Harness status: OK
Found 2 tests
Found 4 tests
2 Pass
4 Pass
Pass e.style['font-synthesis-style'] = "normal" should not set the property value
Pass e.style['font-synthesis-style'] = "auto none" should not set the property value
Pass e.style['font-synthesis-style'] = "auto none" should not set the property value
Pass e.style['font-synthesis-style'] = "none oblique-only" should not set the property value
Pass e.style['font-synthesis-style'] = "oblique-only auto" should not set the property value

View File

@@ -1,7 +1,8 @@
Harness status: OK
Found 2 tests
Found 3 tests
2 Fail
3 Fail
Fail e.style['font-synthesis-style'] = "auto" should set the property value
Fail e.style['font-synthesis-style'] = "none" should set the property value
Fail e.style['font-synthesis-style'] = "none" should set the property value
Fail e.style['font-synthesis-style'] = "oblique-only" should set the property value

View File

@@ -1,19 +1,28 @@
Harness status: OK
Found 14 tests
Found 23 tests
14 Fail
23 Fail
Fail e.style['font-synthesis'] = "none" should set the property value
Fail e.style['font-synthesis'] = "weight" should set the property value
Fail e.style['font-synthesis'] = "style" should set the property value
Fail e.style['font-synthesis'] = "oblique-only" should set the property value
Fail e.style['font-synthesis'] = "small-caps" should set the property value
Fail e.style['font-synthesis'] = "position" should set the property value
Fail e.style['font-synthesis'] = "style weight" should set the property value
Fail e.style['font-synthesis'] = "oblique-only weight" should set the property value
Fail e.style['font-synthesis'] = "small-caps weight" should set the property value
Fail e.style['font-synthesis'] = "small-caps style" should set the property value
Fail e.style['font-synthesis'] = "small-caps oblique-only" should set the property value
Fail e.style['font-synthesis'] = "style weight small-caps" should set the property value
Fail e.style['font-synthesis'] = "style small-caps weight " should set the property value
Fail e.style['font-synthesis'] = "small-caps style weight " should set the property value
Fail e.style['font-synthesis'] = "oblique-only weight small-caps" should set the property value
Fail e.style['font-synthesis'] = "oblique-only small-caps weight " should set the property value
Fail e.style['font-synthesis'] = "small-caps oblique-only weight " should set the property value
Fail e.style['font-synthesis'] = "position style" should set the property value
Fail e.style['font-synthesis'] = "position oblique-only" should set the property value
Fail e.style['font-synthesis'] = "position weight style" should set the property value
Fail e.style['font-synthesis'] = "position weight small-caps style" should set the property value
Fail e.style['font-synthesis'] = "position weight oblique-only" should set the property value
Fail e.style['font-synthesis'] = "position weight small-caps style" should set the property value
Fail e.style['font-synthesis'] = "position weight small-caps oblique-only" should set the property value

View File

@@ -1,9 +1,9 @@
Harness status: OK
Found 30 tests
Found 33 tests
18 Pass
12 Fail
15 Fail
Pass Property grid-area value 'auto / auto / auto / auto'
Pass Property grid-row value 'auto / auto'
Pass Property grid-column-end value 'auto'
@@ -19,6 +19,9 @@ Pass Property grid-row-start value '9 -Z_'
Pass Property grid-column-start value '-44 Z'
Pass Property grid-row-end value '1 -πA'
Pass Property grid-column-end value '5 π_'
Fail Property grid-row-start value 'calc(1.1) -a-'
Fail Property grid-row-start value 'calc(10) -a-'
Fail Property grid-row-start value 'calc(10 + (sign(2cqw - 10px) * 5)) -a-'
Fail Property grid-area value 'span 2 i / auto / auto / auto'
Pass Property grid-row value 'span 2 / auto'
Fail Property grid-column-start value 'span 1 i'

View File

@@ -1,9 +1,9 @@
Harness status: OK
Found 121 tests
Found 141 tests
84 Pass
37 Fail
98 Pass
43 Fail
Fail e.style.cssText = grid: auto-flow auto / 100px 100px should set grid
Fail e.style.cssText = grid: auto-flow auto / 100px 100px should set grid-template-areas
Pass e.style.cssText = grid: auto-flow auto / 100px 100px; grid-template-areas: "one two" "three four" should set grid
@@ -109,6 +109,26 @@ Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(au
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-auto-rows
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-template-columns
Pass e.style.cssText = grid: auto-flow 1px / none; grid-template-rows: repeat(auto-fit, 3px) should set grid-template-rows
Fail e.style.cssText = grid-template: none; should set grid
Pass e.style.cssText = grid-template: none; should set grid-template
Pass e.style.cssText = grid-template: none; should set grid-template-areas
Pass e.style.cssText = grid-template: none; should set grid-template-columns
Pass e.style.cssText = grid-template: none; should set grid-template-rows
Fail e.style.cssText = grid-template: auto / auto; should set grid
Pass e.style.cssText = grid-template: auto / auto; should set grid-template
Pass e.style.cssText = grid-template: auto / auto; should set grid-template-areas
Pass e.style.cssText = grid-template: auto / auto; should set grid-template-columns
Pass e.style.cssText = grid-template: auto / auto; should set grid-template-rows
Fail e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid
Fail e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-areas
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-columns
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto should set grid-template-rows
Fail e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid
Fail e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-areas
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-columns
Pass e.style.cssText = grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] "c c c" "d d d" / auto should set grid-template-rows
Fail e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid
Pass e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid-template-areas
Pass e.style.cssText = grid-template-rows: auto auto; grid-template-columns: repeat(2, 3px); grid-template-areas: "one two" "three four" should set grid-template-columns

View File

@@ -1,11 +1,12 @@
Harness status: OK
Found 5 tests
Found 6 tests
2 Pass
3 Pass
3 Fail
Fail grid-template: none / 1px and "grid-template-areas: "a";" should be valid.
Pass grid-template: none / none and "grid-template-areas: "a";" should be valid.
Pass grid-template: none / none and "grid-template-areas: "a" "b" "c" "d" "e";" should be valid.
Fail grid-template: auto / 1px and "grid-template-areas: "a a a";" should be valid.
Fail grid-template: auto / auto and "grid-template-areas: "a a a";" should be valid.
Pass grid-template: 10px 20px 30px / 40px 50px 60px 70px and "grid-template-areas: "a . b ." "c d . e" "f g h .";" should be valid.

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 24 tests
Found 28 tests
24 Pass
28 Pass
Pass e.style['grid-template'] = "none" should set grid-template-areas
Pass e.style['grid-template'] = "none" should set grid-template-columns
Pass e.style['grid-template'] = "none" should set grid-template-rows
@@ -26,4 +26,8 @@ Pass e.style['grid-template'] = " \"a a a\" \"b b b\" 1fr/ auto 1fr auto" shou
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-areas
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-columns
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should set grid-template-rows
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should not set unrelated longhands
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] / [] auto 1fr [] auto []" should not set unrelated longhands
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-areas
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-columns
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should set grid-template-rows
Pass e.style['grid-template'] = " [] \"a a a\" [] [] \"b b b\" 1fr [] \"c c c\" / [] auto 1fr [] auto []" should not set unrelated longhands

View File

@@ -1,8 +1,9 @@
Harness status: OK
Found 13 tests
Found 14 tests
13 Pass
1 Fail
Pass CSSStyleRule is a CSSGroupingRule
Pass Simple CSSOM manipulation of subrules
Pass Simple CSSOM manipulation of subrules 1
@@ -15,4 +16,5 @@ Pass Simple CSSOM manipulation of subrules 7
Pass Simple CSSOM manipulation of subrules 8
Pass Simple CSSOM manipulation of subrules 9
Pass Simple CSSOM manipulation of subrules 10
Pass Mutating the selectorText of outer rule invalidates inner rules
Pass Mutating the selectorText of outer rule invalidates inner rules
Fail Manipulation of nested declarations through CSSOM

View File

@@ -2,8 +2,9 @@ Harness status: OK
Found 4 tests
4 Pass
Pass Serialization of <generic-family>
2 Pass
2 Fail
Fail Serialization of <generic-family>
Pass Serialization of quoted "<generic-family>"
Pass Serialization of prefixed -webkit-<generic-family>
Pass Serialization of NonGenericFontFamilyName,-webkit-body,-webkit-standard,-webkit-pictograph,BlinkMacSystemFont
Fail Serialization of prefixed -webkit-<generic-family>
Pass Serialization of NonGenericFontFamilyName,-webkit-body,-webkit-standard,-webkit-pictograph,emoji,fangsong,BlinkMacSystemFont

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 687 tests
657 Pass
30 Fail
658 Pass
29 Fail
Pass background-attachment: scroll
Pass background-attachment: fixed
Pass background-attachment: inherit
@@ -334,7 +334,7 @@ Fail content: attr( |bar )
Pass content: attr(foo-bar, "fallback")
Pass content: attr(foo_bar, "fallback")
Fail content: attr(|bar, "fallback")
Fail content: attr(foo, "")
Pass content: attr(foo, "")
Fail content: attr( |foo , "" )
Pass content: inherit
Pass cursor: auto

View File

@@ -1,8 +1,9 @@
Harness status: OK
Found 126 tests
Found 138 tests
126 Pass
132 Pass
6 Fail
Pass new DOMMatrix()
Pass new DOMMatrix(undefined)
Pass new DOMMatrix(new DOMMatrix())
@@ -27,6 +28,8 @@ Pass new DOMMatrix("scale(2) translateX(5px) translateY(5px) rotate(5deg) rotate
Pass new DOMMatrix("translateX (5px)")
Pass new DOMMatrix("scale(2 2) translateX(5) translateY(5)")
Pass new DOMMatrix("scale(2, 2), translateX(5) ,translateY(5)")
Fail new DOMMatrix("scale(sign(1em))")
Pass new DOMMatrix("scale(sibling-index())")
Pass new DOMMatrix("translateX(5em)")
Pass new DOMMatrix("translateX(5ex)")
Pass new DOMMatrix("translateX(5ch)")
@@ -44,10 +47,14 @@ Pass new DOMMatrix("translateX(5vi)")
Pass new DOMMatrix("translateX(5vmin)")
Pass new DOMMatrix("translateX(5vmax)")
Pass new DOMMatrix("translateX(5%)")
Fail new DOMMatrix("translateX(calc(10px * sign(1em - 10px)))")
Pass new DOMMatrix("translateX(calc(10px * sibling-index()))")
Pass new DOMMatrix("rotate(5)")
Pass new DOMMatrix("rotate(5, 5, 5)")
Pass new DOMMatrix("rotate(5, 5px, 5px)")
Pass new DOMMatrix("rotate(5deg, 5px, 5px)")
Fail new DOMMatrix("rotate(calc(5deg * sign(1em - 10px)))")
Pass new DOMMatrix("rotate(calc(5deg * sibling-index()))")
Pass new DOMMatrix(" ")
Pass new DOMMatrix("/**/")
Pass new DOMMatrix("\0")
@@ -90,6 +97,8 @@ Pass new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px) rotate(5deg
Pass new DOMMatrixReadOnly("translateX (5px)")
Pass new DOMMatrixReadOnly("scale(2 2) translateX(5) translateY(5)")
Pass new DOMMatrixReadOnly("scale(2, 2), translateX(5) ,translateY(5)")
Fail new DOMMatrixReadOnly("scale(sign(1em))")
Pass new DOMMatrixReadOnly("scale(sibling-index())")
Pass new DOMMatrixReadOnly("translateX(5em)")
Pass new DOMMatrixReadOnly("translateX(5ex)")
Pass new DOMMatrixReadOnly("translateX(5ch)")
@@ -107,10 +116,14 @@ Pass new DOMMatrixReadOnly("translateX(5vi)")
Pass new DOMMatrixReadOnly("translateX(5vmin)")
Pass new DOMMatrixReadOnly("translateX(5vmax)")
Pass new DOMMatrixReadOnly("translateX(5%)")
Fail new DOMMatrixReadOnly("translateX(calc(10px * sign(1em - 10px)))")
Pass new DOMMatrixReadOnly("translateX(calc(10px * sibling-index()))")
Pass new DOMMatrixReadOnly("rotate(5)")
Pass new DOMMatrixReadOnly("rotate(5, 5, 5)")
Pass new DOMMatrixReadOnly("rotate(5, 5px, 5px)")
Pass new DOMMatrixReadOnly("rotate(5deg, 5px, 5px)")
Fail new DOMMatrixReadOnly("rotate(calc(5deg * sign(1em - 10px)))")
Pass new DOMMatrixReadOnly("rotate(calc(5deg * sibling-index()))")
Pass new DOMMatrixReadOnly(" ")
Pass new DOMMatrixReadOnly("/**/")
Pass new DOMMatrixReadOnly("\0")

View File

@@ -2,8 +2,7 @@ Harness status: OK
Found 3 tests
2 Pass
1 Fail
Pass The dialog element should support :open.
Pass The details element should support :open.
3 Fail
Fail The dialog element should support :open.
Fail The details element should support :open.
Fail The select element should support :open.