From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../tests/css/css-overscroll-behavior/META.yml | 4 + .../css/css-overscroll-behavior/inheritance.html | 24 +++ .../overscroll-behavior-logical.html | 49 +++++ .../overscroll-behavior.html | 198 +++++++++++++++++++++ .../parsing/overscroll-behavior-computed.html | 26 +++ .../parsing/overscroll-behavior-invalid.html | 28 +++ .../parsing/overscroll-behavior-valid.html | 36 ++++ 7 files changed, 365 insertions(+) create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/META.yml create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/inheritance.html create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior-logical.html create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior.html create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-invalid.html create mode 100644 testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-valid.html (limited to 'testing/web-platform/tests/css/css-overscroll-behavior') diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/META.yml b/testing/web-platform/tests/css/css-overscroll-behavior/META.yml new file mode 100644 index 0000000000..8b83e50d1e --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.csswg.org/css-overscroll/ +suggested_reviewers: + - majido + - theres-waldo diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/inheritance.html b/testing/web-platform/tests/css/css-overscroll-behavior/inheritance.html new file mode 100644 index 0000000000..823d623947 --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/inheritance.html @@ -0,0 +1,24 @@ + + + + +Inheritance of CSS Overscroll Behavior properties + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior-logical.html b/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior-logical.html new file mode 100644 index 0000000000..a06132feaa --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior-logical.html @@ -0,0 +1,49 @@ + + +Test flow-relative versions of overscroll-behavior properties + + + + + + + +
+
+
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior.html b/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior.html new file mode 100644 index 0000000000..dcd981e92e --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/overscroll-behavior.html @@ -0,0 +1,198 @@ + + + + + + + + + + + +
+
+
+
+
+
+
+
+ +

overscroll-behavior

+

Tests that overscroll-behavior prevents scroll-propagation in the area and direction as specified.

+
    +
  1. Make two scrolls on BLUE, in this order: scroll UP (or drag down), then scroll LEFT (or drag right). Scroll (or drag) until nothing is scrolling. Then tap on DONE.
  2. +
  3. Repeat the same scrolls as in step 1 and then tap on DONE.
  4. +
  5. Repeat the same scrolls as in step 1 and then tap on DONE.
  6. +
  7. Make two separate scrolls on GREEN, in this order: scroll UP (or drag down), then scroll LEFT (or drag right). Scroll (or drag) until nothing is scrolling. Then tap on DONE.
  8. +
+ + + diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html new file mode 100644 index 0000000000..e7b40d95c5 --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html @@ -0,0 +1,26 @@ + + + + +CSS Overscroll Behavior: getComputedStyle().overscrollBehavior* + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-invalid.html b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-invalid.html new file mode 100644 index 0000000000..02ada4576c --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-invalid.html @@ -0,0 +1,28 @@ + + + + +CSS Overscroll Behavior: parsing overscroll-behavior with invalid values + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-valid.html b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-valid.html new file mode 100644 index 0000000000..45d90d485f --- /dev/null +++ b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-valid.html @@ -0,0 +1,36 @@ + + + + +CSS Overscroll Behavior: parsing overscroll-behavior with valid values + + + + + + + + + + + -- cgit v1.2.3