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 --- .../clip/clip-absolute-positioned-001.html | 18 ++++++++++ .../clip/clip-absolute-positioned-002.html | 18 ++++++++++ .../css-masking/clip/clip-filter-order-ref.html | 24 ++++++++++++++ .../css/css-masking/clip/clip-filter-order.html | 28 ++++++++++++++++ ...lip-fixed-pos-transform-descendant-001-ref.html | 11 +++++++ .../clip-fixed-pos-transform-descendant-001.html | 38 ++++++++++++++++++++++ .../css-masking/clip/clip-negative-values-001.html | 19 +++++++++++ .../css-masking/clip/clip-negative-values-002.html | 19 +++++++++++ .../css-masking/clip/clip-negative-values-003.html | 17 ++++++++++ .../css-masking/clip/clip-negative-values-004.html | 17 ++++++++++ .../css/css-masking/clip/clip-no-clipping-001.html | 16 +++++++++ .../css/css-masking/clip/clip-no-clipping-002.html | 20 ++++++++++++ .../clip/clip-no-stacking-context-ref.html | 4 +++ .../css-masking/clip/clip-no-stacking-context.html | 36 ++++++++++++++++++++ .../clip/clip-not-absolute-positioned-001.html | 18 ++++++++++ .../clip/clip-not-absolute-positioned-002.html | 19 +++++++++++ .../clip/clip-not-absolute-positioned-003.html | 19 +++++++++++ .../clip/clip-not-absolute-positioned-004.html | 18 ++++++++++ .../css/css-masking/clip/clip-rect-auto-001.html | 20 ++++++++++++ .../css/css-masking/clip/clip-rect-auto-002.html | 18 ++++++++++ .../css/css-masking/clip/clip-rect-auto-003.html | 17 ++++++++++ .../css/css-masking/clip/clip-rect-auto-004.html | 18 ++++++++++ .../css/css-masking/clip/clip-rect-auto-005.html | 18 ++++++++++ .../css/css-masking/clip/clip-rect-auto-006.html | 18 ++++++++++ .../css/css-masking/clip/clip-rect-comma-001.html | 17 ++++++++++ .../css/css-masking/clip/clip-rect-comma-002.html | 17 ++++++++++ .../css/css-masking/clip/clip-rect-comma-003.html | 17 ++++++++++ .../css/css-masking/clip/clip-rect-comma-004.html | 17 ++++++++++ .../css/css-masking/clip/clip-rect-scroll.html | 24 ++++++++++++++ .../css-masking/clip/clip-transform-order-2.html | 30 +++++++++++++++++ .../css/css-masking/clip/clip-transform-order.html | 28 ++++++++++++++++ .../reference/clip-absolute-positioned-ref.html | 11 +++++++ .../css-masking/clip/reference/clip-full-ref.html | 11 +++++++ .../clip/reference/clip-horizontal-stripe-ref.html | 11 +++++++ .../clip/reference/clip-no-clipping-ref.html | 11 +++++++ .../clip/reference/clip-overflow-hidden-ref.html | 13 ++++++++ .../clip/reference/clip-rect-bottom-ref.html | 13 ++++++++ .../clip/reference/clip-rect-left-ref.html | 13 ++++++++ .../clip/reference/clip-rect-right-ref.html | 13 ++++++++ .../clip/reference/clip-rect-scroll-ref.html | 5 +++ .../clip/reference/clip-rect-top-ref.html | 13 ++++++++ .../clip/reference/clip-vertical-stripe-ref.html | 11 +++++++ 42 files changed, 743 insertions(+) create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-filter-order-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-filter-order.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-negative-values-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-negative-values-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-negative-values-003.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-negative-values-004.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-003.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-004.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-003.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-004.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-005.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-006.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-001.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-002.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-003.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-004.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-rect-scroll.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-transform-order-2.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/clip-transform-order.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html create mode 100644 testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html (limited to 'testing/web-platform/tests/css/css-masking/clip') diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-001.html new file mode 100644 index 0000000000..c5b0d9001c --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-001.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property and rect function on div with position: absolute + + + + + + + +

The test passes if there is a green square and no red.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-002.html new file mode 100644 index 0000000000..53b2517a27 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-absolute-positioned-002.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property and rect function on div with position: fixed + + + + + + + +

The test passes if there is a green square and no red.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-filter-order-ref.html b/testing/web-platform/tests/css/css-masking/clip/clip-filter-order-ref.html new file mode 100644 index 0000000000..fe9511a8df --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-filter-order-ref.html @@ -0,0 +1,24 @@ + + +Clip should be applied after filtering + + + + +
+

Expected: A green box.
+ There should be no red visible.
+ There should be a crisp, clipped edge around the green box (no blurring).

+
+ +
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-filter-order.html b/testing/web-platform/tests/css/css-masking/clip/clip-filter-order.html new file mode 100644 index 0000000000..0570d02b85 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-filter-order.html @@ -0,0 +1,28 @@ + + +Clip should be applied after filtering + + + + + + +
+

Expected: A green box.
+ There should be no red visible.
+ There should be a crisp, clipped edge around the green box (no blurring).

+
+ +
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001-ref.html b/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001-ref.html new file mode 100644 index 0000000000..ed78cb7338 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001-ref.html @@ -0,0 +1,11 @@ + +CSS Test Reference + +
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001.html new file mode 100644 index 0000000000..395b0bc964 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-fixed-pos-transform-descendant-001.html @@ -0,0 +1,38 @@ + +CSS Masking: Transformed descendants of a fixed pos element under a clipped element get properly clipped + + + + + + +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-001.html new file mode 100644 index 0000000000..b295c89ba3 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-001.html @@ -0,0 +1,19 @@ + + + + CSS Masking: Test clip property does not clip on with negative values - 1 + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-002.html new file mode 100644 index 0000000000..dd92e5b774 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-002.html @@ -0,0 +1,19 @@ + + + + CSS Masking: Test clip property does not clip on with negative values - 2 + + + + + + + +

The test passes if there is a green square and no red.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-003.html b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-003.html new file mode 100644 index 0000000000..5118135345 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-003.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test clip property does not clip on with negative values - 3 + + + + + + + +

The test passes if there is only a vertical blue stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-004.html b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-004.html new file mode 100644 index 0000000000..1fb5add9da --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-negative-values-004.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test clip property does not clip on with negative values - 4 + + + + + + + +

The test passes if there is only a horizontal blue stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-001.html new file mode 100644 index 0000000000..3a63c2ca71 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-001.html @@ -0,0 +1,16 @@ + + + + CSS Masking: Test clip property does not clip on 'auto' + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-002.html new file mode 100644 index 0000000000..a09e6a0a85 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-002.html @@ -0,0 +1,20 @@ + + + + CSS Masking: Test clip property does not clip overflowing content on 'auto'. + + + + + + + +

The test passes if there is a green square with a blue border.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context-ref.html b/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context-ref.html new file mode 100644 index 0000000000..056af22375 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context-ref.html @@ -0,0 +1,4 @@ + + +

Expected: A green box with no red visible.

+
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context.html b/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context.html new file mode 100644 index 0000000000..cbd07ee638 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-no-stacking-context.html @@ -0,0 +1,36 @@ + + +Clip does not create a stacking context + + + + + + +

Expected: A green box with no red visible.

+
+ +
+
+
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-001.html new file mode 100644 index 0000000000..613f6afebc --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-001.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property and rect function on not absolutely positioned div - 1 + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-002.html new file mode 100644 index 0000000000..4d071323f0 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-002.html @@ -0,0 +1,19 @@ + + + + CSS Masking: Test clip property and rect function on not absolutely positioned div - 2 + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-003.html b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-003.html new file mode 100644 index 0000000000..ee3765db7a --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-003.html @@ -0,0 +1,19 @@ + + + + CSS Masking: Test clip property and rect function on not absolutely positioned div - 3 + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-004.html b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-004.html new file mode 100644 index 0000000000..56825d10f6 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-not-absolute-positioned-004.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property and rect function on not absolutely positioned div - 4 + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-001.html new file mode 100644 index 0000000000..6a1a064059 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-001.html @@ -0,0 +1,20 @@ + + + + CSS Masking: Test clip property with rect function and auto values clip to border box - 1 + + + + + + + +

The test passes if there is a blue square and a smaller green square in the bottom right corner of the blue square.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-002.html new file mode 100644 index 0000000000..0ee45183b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-002.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property with rect function and auto values clip to border box - 2 + + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-003.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-003.html new file mode 100644 index 0000000000..5f12ae4863 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-003.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test clip property with rect function and auto value for top value + + + + + + + +

The test passes if there is a horizontal green stripe under a horizontal blue stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-004.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-004.html new file mode 100644 index 0000000000..d5d5ce9b31 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-004.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property with rect function and auto value for right value + + + + + + + +

The test passes if there is a vertical blue stripe on the right side of a vertical green stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-005.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-005.html new file mode 100644 index 0000000000..b2b3b13a49 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-005.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property with rect function and auto value for bottom value + + + + + + + +

The test passes if there is a horizontal blue stripe under a horizontal green stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-006.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-006.html new file mode 100644 index 0000000000..410b93d28b --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-auto-006.html @@ -0,0 +1,18 @@ + + + + CSS Masking: Test clip property with rect function and auto value for left value + + + + + + + +

The test passes if there is a vertical green stripe on the right side of a vertical blue stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-001.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-001.html new file mode 100644 index 0000000000..d15b324a4f --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-001.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test comma separation of rect function on clip - no commas + + + + + + +

The test passes if there is a green square and no red.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-002.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-002.html new file mode 100644 index 0000000000..aad2aebe67 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-002.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test comma separation of rect function on clip - no comma between 1st and 2nd value + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-003.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-003.html new file mode 100644 index 0000000000..875e97173e --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-003.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test comma separation of rect function on clip - no comma between 2nd and 3rd value + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-004.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-004.html new file mode 100644 index 0000000000..2a8b9305df --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-comma-004.html @@ -0,0 +1,17 @@ + + + + CSS Masking: Test comma separation of rect function on clip - no comma between 3rd and 4th value + + + + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-rect-scroll.html b/testing/web-platform/tests/css/css-masking/clip/clip-rect-scroll.html new file mode 100644 index 0000000000..0c84ee299a --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-rect-scroll.html @@ -0,0 +1,24 @@ + +CSS Masking: Test clip property with rect function with overflow:scroll + + + +

The test passes if there is a green square containing text (which can be scrolled +with mouse wheel or touch). No scrollbars should be seen.

+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-transform-order-2.html b/testing/web-platform/tests/css/css-masking/clip/clip-transform-order-2.html new file mode 100644 index 0000000000..bd8e909d76 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-transform-order-2.html @@ -0,0 +1,30 @@ + +Clips should be applied before transforms (when fixed positioned too) + + + + + + + + +
+

Expected: A green box.
+ There should be no red visible.
+ There should be a crisp, clipped edge around the green box (no blurring).

+
+ +
+ +
diff --git a/testing/web-platform/tests/css/css-masking/clip/clip-transform-order.html b/testing/web-platform/tests/css/css-masking/clip/clip-transform-order.html new file mode 100644 index 0000000000..1f24864bc9 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/clip-transform-order.html @@ -0,0 +1,28 @@ + +Clips should be applied before transforms + + + + + + + + +
+

Expected: A green box.
+ There should be no red visible.
+ There should be a crisp, clipped edge around the green box (no blurring).

+
+ +
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html new file mode 100644 index 0000000000..2a9a49fd3a --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-absolute-positioned-ref.html @@ -0,0 +1,11 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a green square and no red.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html new file mode 100644 index 0000000000..f556d5f12a --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-full-ref.html @@ -0,0 +1,11 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a green square and no red.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html new file mode 100644 index 0000000000..fccb18318d --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-horizontal-stripe-ref.html @@ -0,0 +1,11 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is only a horizontal blue stripe.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html new file mode 100644 index 0000000000..724f8c5194 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-no-clipping-ref.html @@ -0,0 +1,11 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a green square with a blue border.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html new file mode 100644 index 0000000000..e6a6e125e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-overflow-hidden-ref.html @@ -0,0 +1,13 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a blue square and a smaller green square in the bottom right corner of the blue square.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html new file mode 100644 index 0000000000..9642435bf1 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-bottom-ref.html @@ -0,0 +1,13 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a horizontal blue stripe under a horizontal green stripe.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html new file mode 100644 index 0000000000..b6dd6e0a48 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-left-ref.html @@ -0,0 +1,13 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a vertical green stripe on the right side of a vertical blue stripe.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html new file mode 100644 index 0000000000..09b90e7614 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-right-ref.html @@ -0,0 +1,13 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a vertical blue stripe on the right side of a vertical green stripe.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html new file mode 100644 index 0000000000..a647e8a0c2 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-scroll-ref.html @@ -0,0 +1,5 @@ + +

The test passes if there is a green square containing text (which can be scrolled +with mouse wheel or touch). No scrollbars should be seen.

+
+
diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html new file mode 100644 index 0000000000..5ec30181f2 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-rect-top-ref.html @@ -0,0 +1,13 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is a horizontal green stripe under a horizontal blue stripe.

+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html b/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html new file mode 100644 index 0000000000..96ccc2c19c --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/clip/reference/clip-vertical-stripe-ref.html @@ -0,0 +1,11 @@ + + + + CSS Reftest Reference + + + +

The test passes if there is only a vertical blue stripe.

+
+ + \ No newline at end of file -- cgit v1.2.3