Skip to content

Commit f22266b

Browse files
author
Ahmad Saleem
committed
Sync svg/path tests from WPT upstream
https://bugs.webkit.org/show_bug.cgi?id=286638 rdar://143775466 Reviewed by Antoine Quint. Upstream commit: web-platform-tests/wpt@1b476ff * LayoutTests/imported/w3c/resources/resource-files.json: * LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/error-handling/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/interfaces/SVGAnimatedPathData-removed-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/path/interfaces/SVGAnimatedPathData-removed.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/interfaces/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/property/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-circle-mutating-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-circle-mutating.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-mutating-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-negative-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-zero-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-mutating-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/error-handling/render-until-error-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/path/interfaces/SVGPathSegment-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/path/interfaces/SVGPathSegment.svg: * LayoutTests/TestExpectations: Skip failing tests > Removed `pixel` dump test expectations (old): * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-mutating-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-negative-expected.txt: Removed. * LayoutTests/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-zero-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-mutating-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-negative-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-zero-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-mutating-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-negative-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-zero-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-mutating-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.png: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.png: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/error-handling/render-until-error-expected.txt: Removed. * LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/path/property/priority-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/error-handling/render-until-error-expected.txt: Removed. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/path/property/priority-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-lbse-text/imported/w3c/web-platform-tests/svg/path/error-handling/render-until-error-expected.txt: Removed. * LayoutTests/platform/mac-sonoma-wk2-pixel/imported/w3c/web-platform-tests/svg/path/error-handling/render-until-error-expected.png: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/distance/pathLength-positive-percentage-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-expected.txt: Removed. * LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage-expected.txt: Removed. Canonical link: https://commits.webkit.org/289589@main
1 parent eb32f48 commit f22266b

File tree

92 files changed

+478
-1332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+478
-1332
lines changed

LayoutTests/TestExpectations

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,6 +2187,15 @@ imported/w3c/web-platform-tests/svg/animations/repeat-event.svg [ Skip ]
21872187
imported/w3c/web-platform-tests/svg/animations/seeking-events-2.html [ Failure Pass ]
21882188
imported/w3c/web-platform-tests/svg/animations/dependent-begin-on-syncbase.html [ Failure Pass ]
21892189
imported/w3c/web-platform-tests/svg/animations/dependent-end-on-syncbase.html [ Failure Pass ]
2190+
imported/w3c/web-platform-tests/svg/path/bearing/absolute.svg [ ImageOnlyFailure ]
2191+
imported/w3c/web-platform-tests/svg/path/bearing/relative.svg [ ImageOnlyFailure ]
2192+
imported/w3c/web-platform-tests/svg/path/bearing/zero.svg [ ImageOnlyFailure ]
2193+
imported/w3c/web-platform-tests/svg/path/closepath/segment-completing.svg [ ImageOnlyFailure ]
2194+
imported/w3c/web-platform-tests/svg/path/distance/pathlength-circle-mutating.svg [ ImageOnlyFailure ]
2195+
imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-negative.svg [ ImageOnlyFailure ]
2196+
imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-zero.svg [ ImageOnlyFailure ]
2197+
imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero.svg [ ImageOnlyFailure ]
2198+
imported/w3c/web-platform-tests/svg/path/distance/pathLength-zero-percentage.svg [ ImageOnlyFailure ]
21902199
imported/w3c/web-platform-tests/svg/path/distance/pathlength-rect-mutating.svg [ Failure Pass ]
21912200
imported/w3c/web-platform-tests/svg/animations/seeking-events-1.html [ Failure Pass ]
21922201
imported/w3c/web-platform-tests/svg/animations/pruning-first-interval.html [ Failure Pass ]

LayoutTests/imported/w3c/resources/resource-files.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10566,6 +10566,22 @@
1056610566
"web-platform-tests/svg/painting/reftests/paintorder-text-decorations-ref.svg",
1056710567
"web-platform-tests/svg/painting/reftests/paintorder-text-decorations.svg",
1056810568
"web-platform-tests/svg/painting/reftests/percentage-ref.svg",
10569+
"web-platform-tests/svg/path/bearing/absolute-ref.svg",
10570+
"web-platform-tests/svg/path/bearing/relative-ref.svg",
10571+
"web-platform-tests/svg/path/bearing/zero-ref.svg",
10572+
"web-platform-tests/svg/path/closepath/segment-completing-ref.svg",
10573+
"web-platform-tests/svg/path/distance/pathLength-positive-ref.svg",
10574+
"web-platform-tests/svg/path/distance/pathLength-zero-percentage-ref.svg",
10575+
"web-platform-tests/svg/path/distance/pathLength-zero-ref.svg",
10576+
"web-platform-tests/svg/path/distance/reference/pathlength-path-mutating-ref.svg",
10577+
"web-platform-tests/svg/path/distance/reference/pathlength-path-negative-ref.svg",
10578+
"web-platform-tests/svg/path/distance/reference/pathlength-path-ref.svg",
10579+
"web-platform-tests/svg/path/distance/reference/pathlength-path-zero-ref.svg",
10580+
"web-platform-tests/svg/path/distance/reference/pathlength-rect-mutating-ref.svg",
10581+
"web-platform-tests/svg/path/distance/reference/pathlength-rect-ref.svg",
10582+
"web-platform-tests/svg/path/error-handling/render-until-error-ref.svg",
10583+
"web-platform-tests/svg/path/property/d-none-expected.svg",
10584+
"web-platform-tests/svg/path/property/d-none-ref.svg",
1056910585
"web-platform-tests/svg/path/property/marker-path-ref.svg",
1057010586
"web-platform-tests/svg/path/property/mpath-ref.svg",
1057110587
"web-platform-tests/svg/path/property/priority-ref.svg",
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading

LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/w3c-import.log

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ Property values requiring vendor prefixes:
1414
None
1515
------------------------------------------------------------------------
1616
List of files:
17+
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/absolute-expected.svg
1718
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/absolute-ref.svg
1819
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/absolute.svg
20+
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/relative-expected.svg
1921
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/relative-ref.svg
2022
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/relative.svg
23+
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/zero-expected.svg
2124
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/zero-ref.svg
2225
/LayoutTests/imported/w3c/web-platform-tests/svg/path/bearing/zero.svg
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Loading

LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/w3c-import.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ Property values requiring vendor prefixes:
1414
None
1515
------------------------------------------------------------------------
1616
List of files:
17+
/LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-expected.svg
1718
/LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing-ref.svg
1819
/LayoutTests/imported/w3c/web-platform-tests/svg/path/closepath/segment-completing.svg
Lines changed: 32 additions & 0 deletions
Loading
Lines changed: 32 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)