From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../mask-empty-container-with-filter.svg | 23 +++++++++++++ .../mask-svg-content/mask-negative-scale.svg | 40 ++++++++++++++++++++++ .../css-masking/mask-svg-content/mask-text-001.svg | 18 ++++++++++ .../css-masking/mask-svg-content/mask-type-001.svg | 19 ++++++++++ .../css-masking/mask-svg-content/mask-type-002.svg | 19 ++++++++++ .../css-masking/mask-svg-content/mask-type-003.svg | 19 ++++++++++ .../mask-svg-content/mask-with-rotation.svg | 16 +++++++++ .../reference/mask-green-square-001-ref.svg | 8 +++++ .../reference/mask-negative-scale-001-ref.svg | 15 ++++++++ .../reference/mask-text-001-ref.svg | 9 +++++ 10 files changed, 186 insertions(+) create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-empty-container-with-filter.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-negative-scale.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-001.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-002.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-003.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/mask-with-rotation.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-green-square-001-ref.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-negative-scale-001-ref.svg create mode 100644 testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-text-001-ref.svg (limited to 'testing/web-platform/tests/css/css-masking/mask-svg-content') diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-empty-container-with-filter.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-empty-container-with-filter.svg new file mode 100644 index 0000000000..ebe7e7e4d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-empty-container-with-filter.svg @@ -0,0 +1,23 @@ + + mask with only an empty container with a filter + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-negative-scale.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-negative-scale.svg new file mode 100644 index 0000000000..36b7abb42e --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-negative-scale.svg @@ -0,0 +1,40 @@ + + + CSS Masking: mask with negative scale target + + + + + svg + The masked target elements get scaled with negative + factors. Check if that influences masking. You should see 4 green + rectangles with smaller blue rectangles in it in various rotations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg new file mode 100644 index 0000000000..1dd5c546af --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg @@ -0,0 +1,18 @@ + + + CSS Masking: mask with transformed text content + + + + + svg + The masked target elements get scaled with negative + factors. Check if that influences masking. You should see 4 green + rectangles with smaller blue rectangles in it in various rotations. + + + foobar + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-001.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-001.svg new file mode 100644 index 0000000000..9bcc40d55b --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-001.svg @@ -0,0 +1,19 @@ + + + CSS Masking: mask without mask-type alpha + + + + + + svg + The mask type "alpha" is applied to the mask element. + The mask should take the alpha channel of the content to mask. You should + see a green square. + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-002.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-002.svg new file mode 100644 index 0000000000..c298297329 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-002.svg @@ -0,0 +1,19 @@ + + + CSS Masking: mask without mask-type luminance + + + + + + svg + The mask type "alpha" is applied to the mask element. + The mask should take the luminocity of the content to mask. You should + see a green square. + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-003.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-003.svg new file mode 100644 index 0000000000..891405dc46 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-type-003.svg @@ -0,0 +1,19 @@ + + + CSS Masking: mask without specified mask-type + + + + + + svg + No mask type was specified the mask element should + take the luminocity of the content to mask. You should see a green square. + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-with-rotation.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-with-rotation.svg new file mode 100644 index 0000000000..9964fd524a --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-with-rotation.svg @@ -0,0 +1,16 @@ + + + CSS Masking: mask with rotation transform + + + + svg + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-green-square-001-ref.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-green-square-001-ref.svg new file mode 100644 index 0000000000..c83ec87e7b --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-green-square-001-ref.svg @@ -0,0 +1,8 @@ + + + CSS Masking: Reftest reference + + svg + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-negative-scale-001-ref.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-negative-scale-001-ref.svg new file mode 100644 index 0000000000..1ed0513327 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-negative-scale-001-ref.svg @@ -0,0 +1,15 @@ + + + CSS Masking: Reftest reference + + svg + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-text-001-ref.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-text-001-ref.svg new file mode 100644 index 0000000000..3fabeb01d7 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/reference/mask-text-001-ref.svg @@ -0,0 +1,9 @@ + + + CSS Masking: Reftest reference + + svg + +foobar + -- cgit v1.2.3