-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resync 'svg/types/scripted/' from WPT upstream
https://bugs.webkit.org/show_bug.cgi?id=263281 Reviewed by Tim Nguyen. This PR is to upstream all tests from 'svg/types/scripted/' directory based on WPT ToT hash: Upstream hash: bbb13dc253827791419344169e822c1af8c2cd82 * LayoutTests/imported/w3c/web-platform-tests/__init__.py: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/event-handler-all-document-element-events.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFECompositeElement.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted//SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedEnumeration-SVGMarkerElement.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted//SVGAnimatedEnumeration-SVGMarkerElement-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedRect.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedRect-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGElement.className-01.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGElement.className-01-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-02.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-02.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-03-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-03.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-04.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-04-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-05.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-05-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.isPointInFill-01.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.isPointInFill-01-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGeometryElement.isPointInStroke-01.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement-clone-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement-clone.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement.getBBox-03-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement.getBBox-03.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGGraphicsElement.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-cap-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-cap.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-ch-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-ch.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-ic-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-ic.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-lh-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-lh.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-px-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-px-with-context-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-px-with-context.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-px.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-rem-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-rem.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/svglength-value-access-when-in-detached-document-crash.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-viewport-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGLength-viewport.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGPoint-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGPoint.html: * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/w3c-import.log Canonical link: https://commits.webkit.org/269468@main
- Loading branch information
1 parent
2ad2ad3
commit 8a42f71
Showing
47 changed files
with
851 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file is required for Python to search this directory for modules. |
2 changes: 1 addition & 1 deletion
2
...atform-tests/svg/types/scripted/SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
PASS Use of SVGAnimatedEnumeration within SVGFECompositeElement | ||
FAIL Use of SVGAnimatedEnumeration within SVGFECompositeElement Type error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
...eb-platform-tests/svg/types/scripted/SVGAnimatedEnumeration-SVGMarkerElement-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
|
||
PASS Use of SVGAnimatedEnumeration within SVGMarkerElement | ||
PASS Test SVGAnimatedEnumeration | ||
PASS Test SVGOrient | ||
PASS Test grad units | ||
FAIL Test turn units assert_equals: expected 360 but got 0 | ||
FAIL Test auto-start-reverse Type error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedRect-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL SVGAnimatedRect interface - utilizing the viewBox property of SVGSVGElement assert_true: expected true got false | ||
PASS SVGAnimatedRect interface - utilizing the viewBox property of SVGSVGElement | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...s/imported/w3c/web-platform-tests/svg/types/scripted/SVGElement.className-01-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
PASS SVGElement.prototype.className: Reflects to .classList | ||
|
15 changes: 15 additions & 0 deletions
15
.../imported/w3c/web-platform-tests/svg/types/scripted/SVGElement.className-01.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions
5
...eb-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-02.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
...web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-03-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
FAIL When SVGGeometryElement.getPointAtLength is called with an element that is not in the document, either succeed or throw exception with SVGPathElement assert_throws_dom: function "function() { pathElement.getPointAtLength(700) }" did not throw | ||
PASS When SVGGeometryElement.getPointAtLength is called with an element that is not in the document, either succeed or throw exception with SVGRectElement | ||
PASS When SVGGeometryElement.getPointAtLength is called with an element that is not in the document, either succeed or throw exception with SVGCircleElement | ||
|
41 changes: 41 additions & 0 deletions
41
...eb-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-03.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
...web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-04-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, path with display: default | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, path with display: none | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, path with display: none and inline style assert_approx_equals: expected 50 +/- 0.00001 but got 0 | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, rect with display: default | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, rect with display: none The object is in an invalid state. | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, circle with display: default | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, circle with display: none The object is in an invalid state. | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, polygon with display: default | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, polygon with display: none The object is in an invalid state. | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, polyline with display: default | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, polyline with display: none The object is in an invalid state. | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and a valid path, ellipse with display: default | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and a valid path, ellipse with display: none The object is in an invalid state. | ||
|
80 changes: 80 additions & 0 deletions
80
...eb-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-04.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
...web-platform-tests/svg/types/scripted/SVGGeometryElement.getPointAtLength-05-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, path with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, path with display: none and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, rect with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and empty path, rect with display: none and an empty path | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, circle with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and empty path, circle with display: none and an empty path | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, polygon with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and empty path, polygon with display: none and an empty path | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, polyline with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and empty path, polyline with display: none and an empty path | ||
FAIL SVGGeometryElement.getPointAtLength: 'display' and empty path, ellipse with display: default and an empty path assert_throws_dom: function "function() { element.getPointAtLength(300); }" did not throw | ||
PASS SVGGeometryElement.getPointAtLength: 'display' and empty path, ellipse with display: none and an empty path | ||
|
Oops, something went wrong.