From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../reftests/url-processing-invalid-base.svg | 15 -- .../tests/svg/linking/scripted/testcommon.js | 8 +- .../painting/reftests/paint-context-006-ref.svg | 21 ++ .../svg/painting/reftests/paint-context-006.svg | 36 +++ .../scripted/SVGGraphicsElement.getScreenCTM.html | 245 +++++++++++++++++++++ 5 files changed, 307 insertions(+), 18 deletions(-) delete mode 100644 testing/web-platform/tests/svg/linking/reftests/url-processing-invalid-base.svg create mode 100644 testing/web-platform/tests/svg/painting/reftests/paint-context-006-ref.svg create mode 100644 testing/web-platform/tests/svg/painting/reftests/paint-context-006.svg create mode 100644 testing/web-platform/tests/svg/types/scripted/SVGGraphicsElement.getScreenCTM.html (limited to 'testing/web-platform/tests/svg') diff --git a/testing/web-platform/tests/svg/linking/reftests/url-processing-invalid-base.svg b/testing/web-platform/tests/svg/linking/reftests/url-processing-invalid-base.svg deleted file mode 100644 index fc5d7c6b06..0000000000 --- a/testing/web-platform/tests/svg/linking/reftests/url-processing-invalid-base.svg +++ /dev/null @@ -1,15 +0,0 @@ - - An invalid base URL makes all internal references invalid - - - - - - - - - - - - diff --git a/testing/web-platform/tests/svg/linking/scripted/testcommon.js b/testing/web-platform/tests/svg/linking/scripted/testcommon.js index 7d87923f59..7177dd801f 100644 --- a/testing/web-platform/tests/svg/linking/scripted/testcommon.js +++ b/testing/web-platform/tests/svg/linking/scripted/testcommon.js @@ -23,9 +23,11 @@ function createSVGElement(test, tag, parent, attrs) { } } parent.appendChild(elem); - test.add_cleanup(function() { - elem.remove(); - }); + if (test) { + test.add_cleanup(function() { + elem.remove(); + }); + } return elem; } diff --git a/testing/web-platform/tests/svg/painting/reftests/paint-context-006-ref.svg b/testing/web-platform/tests/svg/painting/reftests/paint-context-006-ref.svg new file mode 100644 index 0000000000..6aa42374c5 --- /dev/null +++ b/testing/web-platform/tests/svg/painting/reftests/paint-context-006-ref.svg @@ -0,0 +1,21 @@ + + + Paint: 'context-fill' for markers with gradient + + + + + + + + + + + + A + diff --git a/testing/web-platform/tests/svg/painting/reftests/paint-context-006.svg b/testing/web-platform/tests/svg/painting/reftests/paint-context-006.svg new file mode 100644 index 0000000000..95bd2740fa --- /dev/null +++ b/testing/web-platform/tests/svg/painting/reftests/paint-context-006.svg @@ -0,0 +1,36 @@ + + + Paint: 'context-fill' for markers with gradient + + + + + + + + + + + + + + + + + + + A + + + + + + + diff --git a/testing/web-platform/tests/svg/types/scripted/SVGGraphicsElement.getScreenCTM.html b/testing/web-platform/tests/svg/types/scripted/SVGGraphicsElement.getScreenCTM.html new file mode 100644 index 0000000000..7e5dfc649f --- /dev/null +++ b/testing/web-platform/tests/svg/types/scripted/SVGGraphicsElement.getScreenCTM.html @@ -0,0 +1,245 @@ + + + + SVGGraphicsElement.getScreenCTM + + + + + + + + + +
+ + + +
+ + + -- cgit v1.2.3