From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../web-platform/tests/animation-worklet/META.yml | 4 + ...on-different-targets-via-main-thread.https.html | 65 ++++ .../animate-non-accelerated-property.https.html | 44 +++ .../animation-worklet-inside-iframe.https.html | 61 ++++ .../animator-with-options.https.html | 38 +++ .../cancel-non-accelerated-property.https.html | 45 +++ .../web-platform/tests/animation-worklet/common.js | 61 ++++ .../animation-worklet/current-time.https.html | 64 ++++ .../tests/animation-worklet/idlharness.any.js | 18 ++ .../animation-worklet/inactive-timeline.https.html | 139 +++++++++ ...rget-driven-by-individual-local-time.https.html | 65 ++++ .../animation-worklet/playback-rate.https.html | 345 +++++++++++++++++++++ .../references/not-translated-box-ref.html | 12 + .../references/translated-box-ref.html | 12 + .../resources/animator-iframe.html | 44 +++ .../tests/animation-worklet/resources/iframe.html | 9 + .../scroll-timeline-writing-modes.https.html | 168 ++++++++++ .../animation-worklet/stateful-animator.https.html | 216 +++++++++++++ .../worklet-animation-animator-name.https.html | 30 ++ .../worklet-animation-cancel.https.html | 45 +++ .../worklet-animation-creation.https.html | 141 +++++++++ .../worklet-animation-duration.https.html | 39 +++ ...ed-timing-progress-on-worklet-thread.https.html | 87 ++++++ ...imation-get-timing-on-worklet-thread.https.html | 54 ++++ ...-animation-local-time-after-duration.https.html | 41 +++ ...et-animation-local-time-before-start.https.html | 41 +++ .../worklet-animation-local-time-null-1.https.html | 163 ++++++++++ .../worklet-animation-local-time-null-2-ref.html | 27 ++ .../worklet-animation-local-time-null-2.https.html | 110 +++++++ .../worklet-animation-pause-immediately.https.html | 37 +++ .../worklet-animation-pause-resume.https.html | 40 +++ .../worklet-animation-pause.https.html | 60 ++++ .../worklet-animation-play.https.html | 45 +++ .../worklet-animation-set-keyframes.https.html | 44 +++ .../worklet-animation-set-timing.https.html | 46 +++ .../worklet-animation-start-delay-ref.html | 12 + .../worklet-animation-start-delay.https.html | 64 ++++ ...n-with-effects-from-different-frames.https.html | 48 +++ .../worklet-animation-with-fill-mode.https.html | 147 +++++++++ ...orklet-animation-with-invalid-effect.https.html | 36 +++ .../worklet-animation-with-non-ascii-name-ref.html | 12 + ...orklet-animation-with-non-ascii-name.https.html | 59 ++++ ...ith-scroll-timeline-and-display-none.https.html | 84 +++++ ...th-scroll-timeline-and-overflow-hidden-ref.html | 45 +++ ...-scroll-timeline-and-overflow-hidden.https.html | 68 ++++ ...worklet-animation-with-scroll-timeline-ref.html | 51 +++ ...ion-with-scroll-timeline-root-scroller-ref.html | 43 +++ ...n-with-scroll-timeline-root-scroller.https.html | 69 +++++ ...rklet-animation-with-scroll-timeline.https.html | 74 +++++ .../worklet-animation-without-target.https.html | 76 +++++ 50 files changed, 3348 insertions(+) create mode 100644 testing/web-platform/tests/animation-worklet/META.yml create mode 100644 testing/web-platform/tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html create mode 100644 testing/web-platform/tests/animation-worklet/animate-non-accelerated-property.https.html create mode 100644 testing/web-platform/tests/animation-worklet/animation-worklet-inside-iframe.https.html create mode 100644 testing/web-platform/tests/animation-worklet/animator-with-options.https.html create mode 100644 testing/web-platform/tests/animation-worklet/cancel-non-accelerated-property.https.html create mode 100644 testing/web-platform/tests/animation-worklet/common.js create mode 100644 testing/web-platform/tests/animation-worklet/current-time.https.html create mode 100644 testing/web-platform/tests/animation-worklet/idlharness.any.js create mode 100644 testing/web-platform/tests/animation-worklet/inactive-timeline.https.html create mode 100644 testing/web-platform/tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html create mode 100644 testing/web-platform/tests/animation-worklet/playback-rate.https.html create mode 100644 testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/references/translated-box-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/resources/animator-iframe.html create mode 100644 testing/web-platform/tests/animation-worklet/resources/iframe.html create mode 100644 testing/web-platform/tests/animation-worklet/scroll-timeline-writing-modes.https.html create mode 100644 testing/web-platform/tests/animation-worklet/stateful-animator.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-animator-name.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-cancel.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-creation.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-duration.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-get-computed-timing-progress-on-worklet-thread.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-get-timing-on-worklet-thread.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-local-time-after-duration.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-local-time-before-start.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-1.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-pause-immediately.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-pause-resume.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-pause.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-play.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-set-keyframes.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-set-timing.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-start-delay-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-start-delay.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-effects-from-different-frames.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-fill-mode.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-invalid-effect.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller-ref.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline.https.html create mode 100644 testing/web-platform/tests/animation-worklet/worklet-animation-without-target.https.html (limited to 'testing/web-platform/tests/animation-worklet') diff --git a/testing/web-platform/tests/animation-worklet/META.yml b/testing/web-platform/tests/animation-worklet/META.yml new file mode 100644 index 0000000000..88e7d924aa --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.css-houdini.org/css-animationworklet/ +suggested_reviewers: + - flackr + - majido diff --git a/testing/web-platform/tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html b/testing/web-platform/tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html new file mode 100644 index 0000000000..d22ed4cd25 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/animate-multiple-effects-on-different-targets-via-main-thread.https.html @@ -0,0 +1,65 @@ + +Animate multiple effects on different targets via main thread + + + + + + + + + +
+
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/animate-non-accelerated-property.https.html b/testing/web-platform/tests/animation-worklet/animate-non-accelerated-property.https.html new file mode 100644 index 0000000000..8e30387530 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/animate-non-accelerated-property.https.html @@ -0,0 +1,44 @@ + +Animate non-accelerated property using worklet animation + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/animation-worklet/animation-worklet-inside-iframe.https.html b/testing/web-platform/tests/animation-worklet/animation-worklet-inside-iframe.https.html new file mode 100644 index 0000000000..415f394401 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/animation-worklet-inside-iframe.https.html @@ -0,0 +1,61 @@ + +Test that AnimationWorklet inside frames with different origin causes new global scopes + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/animation-worklet/animator-with-options.https.html b/testing/web-platform/tests/animation-worklet/animator-with-options.https.html new file mode 100644 index 0000000000..975c57f038 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/animator-with-options.https.html @@ -0,0 +1,38 @@ + +Worklet Animation with options + + + + + + + +
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/cancel-non-accelerated-property.https.html b/testing/web-platform/tests/animation-worklet/cancel-non-accelerated-property.https.html new file mode 100644 index 0000000000..594da4c419 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/cancel-non-accelerated-property.https.html @@ -0,0 +1,45 @@ + +Cancel non accelerated property using worklet animation + + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/common.js b/testing/web-platform/tests/animation-worklet/common.js new file mode 100644 index 0000000000..ceb430b718 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/common.js @@ -0,0 +1,61 @@ +'use strict'; + +function registerPassthroughAnimator() { + return runInAnimationWorklet(` + registerAnimator('passthrough', class { + animate(currentTime, effect) { + effect.localTime = currentTime; + } + }); + `); +} + +function registerConstantLocalTimeAnimator(localTime) { + return runInAnimationWorklet(` + registerAnimator('constant_time', class { + animate(currentTime, effect) { effect.localTime = ${localTime}; } + }); + `); +} + +function runInAnimationWorklet(code) { + return CSS.animationWorklet.addModule( + URL.createObjectURL(new Blob([code], {type: 'text/javascript'})) + ); +} + +function approxEquals(actual, expected){ + // precision in ms + const epsilon = 0.005; + const lowerBound = (expected - epsilon) < actual; + const upperBound = (expected + epsilon) > actual; + return lowerBound && upperBound; +} + +function waitForAsyncAnimationFrames(count) { + // In Chrome, waiting for N+1 main thread frames guarantees that compositor has produced + // at least N frames. + // TODO(majidvp): re-evaluate this choice once other browsers have implemented + // AnimationWorklet. + return waitForAnimationFrames(count + 1); +} + +async function waitForAnimationFrameWithCondition(condition) { + do { + await new Promise(window.requestAnimationFrame); + } while (!condition()) +} + +async function waitForDocumentTimelineAdvance() { + const timeAtStart = document.timeline.currentTime; + do { + await new Promise(window.requestAnimationFrame); + } while (timeAtStart === document.timeline.currentTime) +} + +// Wait until animation's effect has a non-null localTime. +async function waitForNotNullLocalTime(animation) { + await waitForAnimationFrameWithCondition(_ => { + return animation.effect.getComputedTiming().localTime !== null; + }); +} \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/current-time.https.html b/testing/web-platform/tests/animation-worklet/current-time.https.html new file mode 100644 index 0000000000..a445d5b004 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/current-time.https.html @@ -0,0 +1,64 @@ + + +The current time of a worklet animation + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/idlharness.any.js b/testing/web-platform/tests/animation-worklet/idlharness.any.js new file mode 100644 index 0000000000..a53ac739f3 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/idlharness.any.js @@ -0,0 +1,18 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js +// META: timeout=long + +'use strict'; + +// https://wicg.github.io/animation-worklet/ + +idl_test( + ['css-animation-worklet'], + ['web-animations', 'html', 'cssom', 'dom'], + idl_array => { + idl_array.add_objects({ + WorkletAnimation: ['new WorkletAnimation("name")'], + // TODO: WorkletGroupEffect + }); + } +); diff --git a/testing/web-platform/tests/animation-worklet/inactive-timeline.https.html b/testing/web-platform/tests/animation-worklet/inactive-timeline.https.html new file mode 100644 index 0000000000..3938cb3092 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/inactive-timeline.https.html @@ -0,0 +1,139 @@ + + +Correctness of worklet animation state when timeline becomes newly + active or inactive. + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html b/testing/web-platform/tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html new file mode 100644 index 0000000000..edf8488ded --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/multiple-effects-on-same-target-driven-by-individual-local-time.https.html @@ -0,0 +1,65 @@ + +Multiple effects on same target driven by individual local time + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/playback-rate.https.html b/testing/web-platform/tests/animation-worklet/playback-rate.https.html new file mode 100644 index 0000000000..2e2fb9a099 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/playback-rate.https.html @@ -0,0 +1,345 @@ + + +The playback rate of a worklet animation + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html b/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html new file mode 100644 index 0000000000..96acf1ad96 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html @@ -0,0 +1,12 @@ + +Reference for Animation Worklet local time set after duration + + +
diff --git a/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html b/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html new file mode 100644 index 0000000000..f1dde2e19b --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html @@ -0,0 +1,12 @@ + + + +
diff --git a/testing/web-platform/tests/animation-worklet/resources/animator-iframe.html b/testing/web-platform/tests/animation-worklet/resources/animator-iframe.html new file mode 100644 index 0000000000..f9a5fab9b7 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/resources/animator-iframe.html @@ -0,0 +1,44 @@ + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/resources/iframe.html b/testing/web-platform/tests/animation-worklet/resources/iframe.html new file mode 100644 index 0000000000..e128fa53e4 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/resources/iframe.html @@ -0,0 +1,9 @@ + + +
diff --git a/testing/web-platform/tests/animation-worklet/scroll-timeline-writing-modes.https.html b/testing/web-platform/tests/animation-worklet/scroll-timeline-writing-modes.https.html new file mode 100644 index 0000000000..2bd17a89da --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/scroll-timeline-writing-modes.https.html @@ -0,0 +1,168 @@ + +Tests that ScrollTimeline works properly with writing mode and directionality + + + + + + + + diff --git a/testing/web-platform/tests/animation-worklet/stateful-animator.https.html b/testing/web-platform/tests/animation-worklet/stateful-animator.https.html new file mode 100644 index 0000000000..be29fa109c --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/stateful-animator.https.html @@ -0,0 +1,216 @@ + +Basic use of stateful animator + + + + + + + +
+ + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-animator-name.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-animator-name.https.html new file mode 100644 index 0000000000..bd886ccd02 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-animator-name.https.html @@ -0,0 +1,30 @@ + + +Worklet Animation's animator name should be accessible via animatorName property + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-cancel.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-cancel.https.html new file mode 100644 index 0000000000..3b664ecddb --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-cancel.https.html @@ -0,0 +1,45 @@ + +Canceling a playing WorkletAnimation should remove the effect + + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-creation.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-creation.https.html new file mode 100644 index 0000000000..b7d1a43721 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-creation.https.html @@ -0,0 +1,141 @@ + +Verify that WorkletAnimation is correctly created + + + + + + + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-duration.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-duration.https.html new file mode 100644 index 0000000000..1a8afc1e89 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-duration.https.html @@ -0,0 +1,39 @@ + +WorkletAnimation should continue to be in effect forever, even if its duration is passed + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-get-computed-timing-progress-on-worklet-thread.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-get-computed-timing-progress-on-worklet-thread.https.html new file mode 100644 index 0000000000..a66a4b9156 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-get-computed-timing-progress-on-worklet-thread.https.html @@ -0,0 +1,87 @@ + +Animation Worklet should update calculated timing whenever localTime changes + + + + + + + +
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-get-timing-on-worklet-thread.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-get-timing-on-worklet-thread.https.html new file mode 100644 index 0000000000..4ba68d79e4 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-get-timing-on-worklet-thread.https.html @@ -0,0 +1,54 @@ + +Animation Worklet should have access to effect timing from within the worklet thread + + + + + + + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-after-duration.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-after-duration.https.html new file mode 100644 index 0000000000..21293bc09b --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-after-duration.https.html @@ -0,0 +1,41 @@ + +Animation Worklet local time set after duration + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-before-start.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-before-start.https.html new file mode 100644 index 0000000000..a959b73c08 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-before-start.https.html @@ -0,0 +1,41 @@ + +Animation Worklet local time set before start + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-1.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-1.https.html new file mode 100644 index 0000000000..52727fa6ea --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-1.https.html @@ -0,0 +1,163 @@ + +Setting localTime to null means effect does not apply + + + + + + + + + +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2-ref.html new file mode 100644 index 0000000000..3b7a2b9258 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2-ref.html @@ -0,0 +1,27 @@ + +Setting localTime to null means effect does not apply (reftest) + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2.https.html new file mode 100644 index 0000000000..9c499bac0e --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-local-time-null-2.https.html @@ -0,0 +1,110 @@ + + +Setting localTime to null means effect does not apply (reftest) + + + + + + + + + + +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-pause-immediately.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-pause-immediately.https.html new file mode 100644 index 0000000000..f9dcf30bc9 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-pause-immediately.https.html @@ -0,0 +1,37 @@ + + +Verify that calling pause immediately after playing works as expected + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-pause-resume.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-pause-resume.https.html new file mode 100644 index 0000000000..f26a93468c --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-pause-resume.https.html @@ -0,0 +1,40 @@ + + +Verify that calling pause immediately after playing works as expected + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-pause.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-pause.https.html new file mode 100644 index 0000000000..417db9e37a --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-pause.https.html @@ -0,0 +1,60 @@ + +Verify that currentTime and playState are correct when animation is paused + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-play.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-play.https.html new file mode 100644 index 0000000000..038cd74aab --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-play.https.html @@ -0,0 +1,45 @@ + +Basic use of Worklet Animation + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-set-keyframes.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-set-keyframes.https.html new file mode 100644 index 0000000000..d3d02898db --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-set-keyframes.https.html @@ -0,0 +1,44 @@ + +Worklet Animation sets keyframes + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-set-timing.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-set-timing.https.html new file mode 100644 index 0000000000..6c5cd51300 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-set-timing.https.html @@ -0,0 +1,46 @@ + +Worklet Animation sets timing + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay-ref.html new file mode 100644 index 0000000000..efef6f842b --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay-ref.html @@ -0,0 +1,12 @@ + +Reference for WorkletAnimation should respect delay given in options + + +
+
diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay.https.html new file mode 100644 index 0000000000..c8683f7dac --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-start-delay.https.html @@ -0,0 +1,64 @@ + +WorkletAnimation should respect delay given in options + + + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-effects-from-different-frames.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-effects-from-different-frames.https.html new file mode 100644 index 0000000000..152b13839c --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-effects-from-different-frames.https.html @@ -0,0 +1,48 @@ + +Worklet animation can animate effects from different frames + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-fill-mode.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-fill-mode.https.html new file mode 100644 index 0000000000..725d10de43 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-fill-mode.https.html @@ -0,0 +1,147 @@ + +Test that worklet animation works with different fill modes + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-invalid-effect.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-invalid-effect.https.html new file mode 100644 index 0000000000..75261d251c --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-invalid-effect.https.html @@ -0,0 +1,36 @@ + +Test that worklet animation with invalid effect cannot be played + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name-ref.html new file mode 100644 index 0000000000..012f6f9d51 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name-ref.html @@ -0,0 +1,12 @@ + +Reference for WorkletAnimation name should accept non-ASCII characters + + +
+
diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name.https.html new file mode 100644 index 0000000000..d3a3f4ad35 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-non-ascii-name.https.html @@ -0,0 +1,59 @@ + +WorkletAnimation name should accept non-ASCII characters + + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html new file mode 100644 index 0000000000..0bba0039da --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-display-none.https.html @@ -0,0 +1,84 @@ + +Scroll timeline with WorkletAnimation and transition from display:none to display:block + + + + + + + + + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden-ref.html new file mode 100644 index 0000000000..c6d7314e39 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden-ref.html @@ -0,0 +1,45 @@ + +Scroll timeline with WorkletAnimation using a scroller with overflow hidden + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden.https.html new file mode 100644 index 0000000000..c2332bd6ce --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-and-overflow-hidden.https.html @@ -0,0 +1,68 @@ + +Scroll timeline with WorkletAnimation using a scroller with overflow hidden + + + + + + + + + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-ref.html new file mode 100644 index 0000000000..1316d69a42 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-ref.html @@ -0,0 +1,51 @@ + +Reference for Animation Worklet with scroll timeline tests + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller-ref.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller-ref.html new file mode 100644 index 0000000000..917b044841 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller-ref.html @@ -0,0 +1,43 @@ + +Reference for Scroll timeline with WorkletAnimation using the root scroller + + +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller.https.html new file mode 100644 index 0000000000..60560a938a --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline-root-scroller.https.html @@ -0,0 +1,69 @@ + +Scroll timeline with WorkletAnimation using the root scroller + + + + + + + + + + +
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline.https.html new file mode 100644 index 0000000000..99bd171d92 --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-with-scroll-timeline.https.html @@ -0,0 +1,74 @@ + +Basic use of scroll timeline with WorkletAnimation + + + + + + + + + + +
+
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/animation-worklet/worklet-animation-without-target.https.html b/testing/web-platform/tests/animation-worklet/worklet-animation-without-target.https.html new file mode 100644 index 0000000000..bfb6b4faee --- /dev/null +++ b/testing/web-platform/tests/animation-worklet/worklet-animation-without-target.https.html @@ -0,0 +1,76 @@ + +Verify that effect without target is supported + + + + + + + +
+ + -- cgit v1.2.3