From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../background-clip/clip-border-box.html | 71 +++++++++++++++++++++ .../clip-border-box_with_position.html | 72 ++++++++++++++++++++++ .../clip-border-box_with_radius.html | 72 ++++++++++++++++++++++ .../background-clip/clip-border-box_with_size.html | 71 +++++++++++++++++++++ .../background-clip/clip-content-box.html | 71 +++++++++++++++++++++ .../clip-content-box_with_position.html | 72 ++++++++++++++++++++++ .../clip-content-box_with_radius.html | 72 ++++++++++++++++++++++ .../clip-content-box_with_size.html | 70 +++++++++++++++++++++ .../background-clip/clip-padding-box.html | 72 ++++++++++++++++++++++ .../clip-padding-box_with_position.html | 71 +++++++++++++++++++++ .../clip-padding-box_with_radius.html | 71 +++++++++++++++++++++ .../clip-padding-box_with_size.html | 71 +++++++++++++++++++++ .../background-clip/clip-rounded-corner-ref.html | 26 ++++++++ .../background-clip/clip-rounded-corner.html | 28 +++++++++ .../background-clip/clip-text-dynamic-2-ref.html | 23 +++++++ .../background-clip/clip-text-dynamic-2.html | 39 ++++++++++++ .../background-clip/clip-text-flex-ref.html | 16 +++++ .../background-clip/clip-text-flex.html | 21 +++++++ .../background-clip/clip-text-multi-line-ref.html | 22 +++++++ .../background-clip/clip-text-multi-line.html | 40 ++++++++++++ .../css/css-backgrounds/background-clip/list.txt | 12 ++++ 21 files changed, 1083 insertions(+) create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_position.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_radius.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_size.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_position.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_radius.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_size.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_position.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_radius.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_size.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner-ref.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2-ref.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex-ref.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line-ref.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt (limited to 'testing/web-platform/tests/css/css-backgrounds/background-clip') diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box.html new file mode 100644 index 0000000000..12763856c6 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:border-box + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area includes the area covered by border , and the area surrounded by border.
+
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ + +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_position.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_position.html new file mode 100644 index 0000000000..300554754a --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_position.html @@ -0,0 +1,72 @@ + + + + + CSS Backgrounds Test: background-clip:border-box & background-position + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area includes the area covered by border , and the area surrounded by border.
+When background-position is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip: +
+ +
+ Test background-clip: +
+ + +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_radius.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_radius.html new file mode 100644 index 0000000000..f01d5e69ef --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_radius.html @@ -0,0 +1,72 @@ + + + + + CSS Backgrounds Test: background-clip:border-box & border-radius + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area includes the area covered by border , and the area surrounded by border.
+When border-radius is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip: +
+ +
+ Test background-clip: +
+ + +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_size.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_size.html new file mode 100644 index 0000000000..13617d3899 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-box_with_size.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:border-box & background-size + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area includes the area covered by border , and the area surrounded by border.
+When background-size is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip: +
+ +
+ Test background-clip: +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box.html new file mode 100644 index 0000000000..94fe5c1e1c --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:content-box + + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the content-area(excludes padding-area ) of the DIV.
+
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_position.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_position.html new file mode 100644 index 0000000000..7f1cc4d556 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_position.html @@ -0,0 +1,72 @@ + + + + + CSS Backgrounds Test: background-clip:content-box & background-position + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the content-area(excludes padding-area ) of the DIV.
+When background-position is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_radius.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_radius.html new file mode 100644 index 0000000000..0aea268973 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_radius.html @@ -0,0 +1,72 @@ + + + + + CSS Backgrounds Test: background-clip:content-box & border-radius + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the content-area(excludes padding-area ) of the DIV.
+When border-radius is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_size.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_size.html new file mode 100644 index 0000000000..efe2eda39e --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-content-box_with_size.html @@ -0,0 +1,70 @@ + + + + + CSS Backgrounds Test: background-clip:content-box & background-size + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the content-area(excludes padding-area ) of the DIV.
+When background-size is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box.html new file mode 100644 index 0000000000..eb5c44fcad --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box.html @@ -0,0 +1,72 @@ + + + + + CSS Backgrounds Test: background-clip:padding-box + + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the area covered by border(includes padding-area ). +
+ +
+ + +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_position.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_position.html new file mode 100644 index 0000000000..912d804227 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_position.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:padding-box & background-position + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the area covered by border(includes padding-area ).
+When background-position is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_radius.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_radius.html new file mode 100644 index 0000000000..8e8a56cf69 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_radius.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:padding-box & border-radius + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the area covered by border(includes padding-area ).
+When border-radius is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_size.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_size.html new file mode 100644 index 0000000000..c163043ad0 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-padding-box_with_size.html @@ -0,0 +1,71 @@ + + + + + CSS Backgrounds Test: background-clip:padding-box & background-size + + + + + + + + + + + + + +
+Test Passed If : The background is clipped. The clip area is the area covered by border(includes padding-area ).
+When background-size is enabled, the browser should clip the background correctly. +
+ +
+ +
+ Test background-clip +
+ +
+ Test background-clip +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner-ref.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner-ref.html new file mode 100644 index 0000000000..379ad36992 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner-ref.html @@ -0,0 +1,26 @@ + + +Filled Background with Rounded Corner + + +
+ +
+ diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner.html new file mode 100644 index 0000000000..3453c5bc8f --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-rounded-corner.html @@ -0,0 +1,28 @@ + + +Filled Background with Rounded Corner + + + + +
+ +
+ diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2-ref.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2-ref.html new file mode 100644 index 0000000000..2619a196d7 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2-ref.html @@ -0,0 +1,23 @@ + +CSS Test Reference + +
+ +
+

XxX

+
+
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2.html new file mode 100644 index 0000000000..ee6b45c2dd --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-dynamic-2.html @@ -0,0 +1,39 @@ + + +CSS Test: background-clip: text is invalidated properly on text position changes + + + + + + +
+ +
+

XxX

+
+
+ diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex-ref.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex-ref.html new file mode 100644 index 0000000000..0bcbc0bc13 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex-ref.html @@ -0,0 +1,16 @@ + + + +
flex
+
inline-flex
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex.html new file mode 100644 index 0000000000..618c8c1dbc --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-flex.html @@ -0,0 +1,21 @@ + +background-clip:text with display:flex + + + + +
flex
+
inline-flex
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line-ref.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line-ref.html new file mode 100644 index 0000000000..455daa7aea --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line-ref.html @@ -0,0 +1,22 @@ + + + + + CSS test reference + + + + + + +

Test passes if there are 2 green stripes and if the top stripe is half the width of the bottom stripe. + +

12345
1234567890
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line.html b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line.html new file mode 100644 index 0000000000..88ad111eb8 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/clip-text-multi-line.html @@ -0,0 +1,40 @@ + + + + + CSS Backgrounds Test: 'background-clip: text' and painting of multi-line text + + + + + + + + + + + +

Test passes if there are 2 green stripes and if the top stripe is half the width of the bottom stripe. + +

12345
1234567890
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt b/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt new file mode 100644 index 0000000000..52c47ebba9 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt @@ -0,0 +1,12 @@ +background-clip/border-box.html +background-clip/border-box_with_position.html +background-clip/border-box_with_radius.html +background-clip/border-box_with_size.html +background-clip/content-box.html +background-clip/content-box_with_position.html +background-clip/content-box_with_radius.html +background-clip/content-box_with_size.html +background-clip/padding-box.html +background-clip/padding-box_with_position.html +background-clip/padding-box_with_radius.html +background-clip/padding-box_with_size.html -- cgit v1.2.3