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 --- .../view-timelines/animation-events.html | 83 ++++++ ...imeline-current-time-vertical-rl.tentative.html | 101 +++++++ ...block-view-timeline-current-time.tentative.html | 207 ++++++++++++++ ...ock-view-timeline-nested-subject.tentative.html | 113 ++++++++ .../change-animation-range-updates-play-state.html | 88 ++++++ .../view-timelines/contain-alignment.html | 112 ++++++++ .../view-timelines/fieldset-source.html | 111 ++++++++ .../get-keyframes-with-timeline-offset.html | 203 ++++++++++++++ .../view-timelines/inline-subject.html | 50 ++++ ...nline-view-timeline-current-time.tentative.html | 302 +++++++++++++++++++++ .../view-timelines/range-boundary-ref.html | 63 +++++ .../view-timelines/range-boundary.html | 153 +++++++++++ .../sticky/view-timeline-sticky-offscreen-1.html | 120 ++++++++ .../sticky/view-timeline-sticky-offscreen-2.html | 121 +++++++++ .../sticky/view-timeline-sticky-offscreen-3.html | 121 +++++++++ .../sticky/view-timeline-sticky-offscreen-4.html | 120 ++++++++ .../sticky/view-timeline-sticky-offscreen-5.html | 121 +++++++++ .../sticky/view-timeline-sticky-offscreen-6.html | 127 +++++++++ .../sticky/view-timeline-sticky-offscreen-7.html | 128 +++++++++ .../view-timelines/subject-br-crash.html | 14 + .../view-timelines/svg-graphics-element-001.html | 45 +++ .../view-timelines/svg-graphics-element-002.html | 47 ++++ .../view-timelines/svg-graphics-element-003.html | 48 ++++ .../scroll-animations/view-timelines/testcommon.js | 146 ++++++++++ .../timeline-offset-in-keyframe.html | 264 ++++++++++++++++++ .../view-timelines/unattached-subject-inset.html | 59 ++++ .../view-timeline-get-current-time-range-name.html | 148 ++++++++++ .../view-timeline-get-set-range.html | 127 +++++++++ .../view-timelines/view-timeline-inset.html | 226 +++++++++++++++ .../view-timeline-missing-subject.html | 54 ++++ .../view-timeline-on-display-none-element.html | 59 ++++ .../view-timeline-range-large-subject.html | 105 +++++++ .../view-timelines/view-timeline-range.html | 198 ++++++++++++++ .../view-timelines/view-timeline-root-source.html | 41 +++ .../view-timelines/view-timeline-snapport.html | 58 ++++ .../view-timeline-source.tentative.html | 94 +++++++ .../view-timelines/view-timeline-sticky-block.html | 94 +++++++ .../view-timeline-sticky-inline.html | 90 ++++++ .../view-timeline-subject-size-changes.html | 81 ++++++ ...ero-intrinsic-iteration-duration.tentative.html | 106 ++++++++ 40 files changed, 4548 insertions(+) create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/animation-events.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time-vertical-rl.tentative.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time.tentative.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-nested-subject.tentative.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/change-animation-range-updates-play-state.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/contain-alignment.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/fieldset-source.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/get-keyframes-with-timeline-offset.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/inline-subject.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/inline-view-timeline-current-time.tentative.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/range-boundary-ref.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/range-boundary.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-1.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-2.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-3.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-4.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-5.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-6.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-7.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/subject-br-crash.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-001.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-002.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-003.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/testcommon.js create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/timeline-offset-in-keyframe.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/unattached-subject-inset.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-current-time-range-name.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-set-range.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-inset.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-missing-subject.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-on-display-none-element.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range-large-subject.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-root-source.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-snapport.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-source.tentative.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-block.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-inline.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-subject-size-changes.html create mode 100644 testing/web-platform/tests/scroll-animations/view-timelines/zero-intrinsic-iteration-duration.tentative.html (limited to 'testing/web-platform/tests/scroll-animations/view-timelines') diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/animation-events.html b/testing/web-platform/tests/scroll-animations/view-timelines/animation-events.html new file mode 100644 index 0000000000..b456794225 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/animation-events.html @@ -0,0 +1,83 @@ + + + +View timeline delay + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time-vertical-rl.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time-vertical-rl.tentative.html new file mode 100644 index 0000000000..beb380060e --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time-vertical-rl.tentative.html @@ -0,0 +1,101 @@ + + + +View timeline current-time with vertical-rl writing mode + + + + + + + + +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time.tentative.html new file mode 100644 index 0000000000..c24d04412f --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-current-time.tentative.html @@ -0,0 +1,207 @@ + + + +View timeline current-time + + + + + + + + +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-nested-subject.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-nested-subject.tentative.html new file mode 100644 index 0000000000..6fdc7c6822 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/block-view-timeline-nested-subject.tentative.html @@ -0,0 +1,113 @@ + + + +View timeline nested subject + + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/change-animation-range-updates-play-state.html b/testing/web-platform/tests/scroll-animations/view-timelines/change-animation-range-updates-play-state.html new file mode 100644 index 0000000000..ee01070a53 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/change-animation-range-updates-play-state.html @@ -0,0 +1,88 @@ + + + + + + + + + + + +Animation range updates play state + + + +
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/contain-alignment.html b/testing/web-platform/tests/scroll-animations/view-timelines/contain-alignment.html new file mode 100644 index 0000000000..8b61a9ab81 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/contain-alignment.html @@ -0,0 +1,112 @@ + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+ + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/fieldset-source.html b/testing/web-platform/tests/scroll-animations/view-timelines/fieldset-source.html new file mode 100644 index 0000000000..d75f30e664 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/fieldset-source.html @@ -0,0 +1,111 @@ + + + +View timeline with fieldset as source + + + + + + +
+ Reservation Details +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/get-keyframes-with-timeline-offset.html b/testing/web-platform/tests/scroll-animations/view-timelines/get-keyframes-with-timeline-offset.html new file mode 100644 index 0000000000..02f910d04e --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/get-keyframes-with-timeline-offset.html @@ -0,0 +1,203 @@ + + + + + + + + + + +Reported keyframes containing timeline offset + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/inline-subject.html b/testing/web-platform/tests/scroll-animations/view-timelines/inline-subject.html new file mode 100644 index 0000000000..6b1d216dea --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/inline-subject.html @@ -0,0 +1,50 @@ + + + + + + View Timeline attached to an SVG graphics element + + + +
+
+

Hello world

+
+
+ + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/inline-view-timeline-current-time.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/inline-view-timeline-current-time.tentative.html new file mode 100644 index 0000000000..59d73d0cdf --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/inline-view-timeline-current-time.tentative.html @@ -0,0 +1,302 @@ + + + +View timeline current-time + + + + + + + + +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary-ref.html b/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary-ref.html new file mode 100644 index 0000000000..057d0afabc --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary-ref.html @@ -0,0 +1,63 @@ + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary.html b/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary.html new file mode 100644 index 0000000000..e2ca394ec0 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/range-boundary.html @@ -0,0 +1,153 @@ + + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-1.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-1.html new file mode 100644 index 0000000000..d8756769c5 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-1.html @@ -0,0 +1,120 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-2.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-2.html new file mode 100644 index 0000000000..2d098dcbe3 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-2.html @@ -0,0 +1,121 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-3.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-3.html new file mode 100644 index 0000000000..c87dfc4dcb --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-3.html @@ -0,0 +1,121 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-4.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-4.html new file mode 100644 index 0000000000..f6b02ffb2e --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-4.html @@ -0,0 +1,120 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-5.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-5.html new file mode 100644 index 0000000000..380c01297e --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-5.html @@ -0,0 +1,121 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-6.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-6.html new file mode 100644 index 0000000000..94f0abc9b1 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-6.html @@ -0,0 +1,127 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-7.html b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-7.html new file mode 100644 index 0000000000..83115249fa --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/sticky/view-timeline-sticky-offscreen-7.html @@ -0,0 +1,128 @@ + + + + +View timeline with sticky during entry/exit + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/subject-br-crash.html b/testing/web-platform/tests/scroll-animations/view-timelines/subject-br-crash.html new file mode 100644 index 0000000000..36627dbea6 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/subject-br-crash.html @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-001.html b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-001.html new file mode 100644 index 0000000000..9b100a0b64 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-001.html @@ -0,0 +1,45 @@ + + + + + + View Timeline attached to an SVG graphics element + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-002.html b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-002.html new file mode 100644 index 0000000000..e173a649ef --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-002.html @@ -0,0 +1,47 @@ + + + + + + View Timeline attached to an SVG graphics element in a nested <svg> + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-003.html b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-003.html new file mode 100644 index 0000000000..48e238c8ed --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/svg-graphics-element-003.html @@ -0,0 +1,48 @@ + + + + + + View Timeline attached to an SVG graphics element (<foreignObject>) + + + + + +
+
+
+
+ + + + + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/testcommon.js b/testing/web-platform/tests/scroll-animations/view-timelines/testcommon.js new file mode 100644 index 0000000000..a798fe918d --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/testcommon.js @@ -0,0 +1,146 @@ +'use strict'; + +function assert_px_equals(observed, expected, description) { + assert_equals(observed.unit, 'px', + `Unexpected unit type for '${description}'`); + assert_approx_equals(observed.value, expected, 0.0001, + `Unexpected value for ${description}`); +} + +function CreateViewTimelineOpacityAnimation(test, target, options) { + const timeline_options = { + subject: target, + axis: 'block' + }; + if (options && 'timeline' in options) { + for (let key in options.timeline) { + timeline_options[key] = options.timeline[key]; + } + } + const animation_options = { + timeline: new ViewTimeline(timeline_options) + }; + if (options && 'animation' in options) { + for (let key in options.animation) { + animation_options[key] = options.animation[key]; + } + } + + const anim = + target.animate({ opacity: [0.3, 0.7] }, animation_options); + test.add_cleanup(() => { + anim.cancel(); + }); + return anim; +} + +// Verify that range specified in the options aligns with the active range of +// the animation. +// +// Sample call: +// await runTimelineBoundsTest(t, { +// timeline: { inset: [ CSS.percent(0), CSS.percent(20)] }, +// timing: { fill: 'both' } +// startOffset: 600, +// endOffset: 900 +// }); +async function runTimelineBoundsTest(t, options, message) { + const scrollOffsetProp = options.axis == 'block' ? 'scrollTop' : 'scrollLeft'; + container[scrollOffsetProp] = 0; + await waitForNextFrame(); + + const anim = + options.anim || + CreateViewTimelineOpacityAnimation(t, target, options); + if (options.timing) + anim.effect.updateTiming(options.timing); + + const timeline = anim.timeline; + await anim.ready; + + // Advance to the start offset, which triggers entry to the active phase. + container[scrollOffsetProp] = options.startOffset; + await waitForNextFrame(); + assert_equals(getComputedStyle(target).opacity, '0.3', + `Effect at the start of the active phase: ${message}`); + + // Advance to the midpoint of the animation. + container[scrollOffsetProp] = (options.startOffset + options.endOffset) / 2; + await waitForNextFrame(); + assert_equals(getComputedStyle(target).opacity,'0.5', + `Effect at the midpoint of the active range: ${message}`); + + // Advance to the end of the animation. + container[scrollOffsetProp] = options.endOffset; + await waitForNextFrame(); + assert_equals(getComputedStyle(target).opacity, '0.7', + `Effect is in the active phase at effect end time: ${message}`); + + // Return the animation so that we can continue testing with the same object. + return anim; +} + +// Sets the start and end range for a view timeline and ensures that the +// range aligns with expected values. +// +// Sample call: +// await runTimelineRangeTest(t, { +// rangeStart: { rangeName: 'cover', offset: CSS.percent(0) } , +// rangeEnd: { rangeName: 'cover', offset: CSS.percent(100) }, +// startOffset: 600, +// endOffset: 900 +// }); +async function runTimelineRangeTest(t, options) { + const rangeToString = range => { + const parts = []; + if (range.rangeName) + parts.push(range.rangeName); + if (range.offset) + parts.push(`${range.offset.value}%`); + return parts.join(' '); + }; + const range = + `${rangeToString(options.rangeStart)} to ` + + `${rangeToString(options.rangeEnd)}`; + + options.timeline = { + axis: options.axis || 'inline' + }; + options.animation = { + rangeStart: options.rangeStart, + rangeEnd: options.rangeEnd, + }; + options.timing = { + // Set fill to accommodate floating point precision errors at the + // endpoints. + fill: 'both' + }; + + return runTimelineBoundsTest(t, options, range); +} + +// Sets the Inset for a view timeline and ensures that the range aligns with +// expected values. +// +// Sample call: +// await runTimelineInsetTest(t, { +// inset: [ CSS.px(20), CSS.px(40) ] +// startOffset: 600, +// endOffset: 900 +// }); +async function runTimelineInsetTest(t, options) { + options.timeline = { + axis: 'inline', + inset: options.inset + }; + options.timing = { + // Set fill to accommodate floating point precision errors at the + // endpoints. + fill: 'both' + } + const length = options.inset.length; + const range = + (options.inset instanceof Array) ? options.inset.join(' ') + : options.inset; + return runTimelineBoundsTest(t, options, range); +} diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/timeline-offset-in-keyframe.html b/testing/web-platform/tests/scroll-animations/view-timelines/timeline-offset-in-keyframe.html new file mode 100644 index 0000000000..1168893854 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/timeline-offset-in-keyframe.html @@ -0,0 +1,264 @@ + + + + + + + + + +Animation range and delay + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/unattached-subject-inset.html b/testing/web-platform/tests/scroll-animations/view-timelines/unattached-subject-inset.html new file mode 100644 index 0000000000..86262db8f8 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/unattached-subject-inset.html @@ -0,0 +1,59 @@ + + + + + + Test construction of a view timeline with a detached subject + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-current-time-range-name.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-current-time-range-name.html new file mode 100644 index 0000000000..25e477e1a9 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-current-time-range-name.html @@ -0,0 +1,148 @@ + + + +View timeline delay + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-set-range.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-set-range.html new file mode 100644 index 0000000000..94660abcf2 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-get-set-range.html @@ -0,0 +1,127 @@ + + + +View timeline delay + + + + + + + + + +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-inset.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-inset.html new file mode 100644 index 0000000000..357d8558f9 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-inset.html @@ -0,0 +1,226 @@ + + + +View timeline delay + + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-missing-subject.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-missing-subject.html new file mode 100644 index 0000000000..01ca021524 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-missing-subject.html @@ -0,0 +1,54 @@ + + + + +ViewTimeline with missing subject + + + + + + +
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-on-display-none-element.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-on-display-none-element.html new file mode 100644 index 0000000000..1cc23fe626 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-on-display-none-element.html @@ -0,0 +1,59 @@ + + +View timeline on element with display:none + + + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range-large-subject.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range-large-subject.html new file mode 100644 index 0000000000..f87a57584e --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range-large-subject.html @@ -0,0 +1,105 @@ + + + +View timeline delay + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range.html new file mode 100644 index 0000000000..5042c6c2a0 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-range.html @@ -0,0 +1,198 @@ + + + +View timeline delay + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-root-source.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-root-source.html new file mode 100644 index 0000000000..20ac9c5464 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-root-source.html @@ -0,0 +1,41 @@ + + + +View timeline delay + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-snapport.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-snapport.html new file mode 100644 index 0000000000..5d68d37037 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-snapport.html @@ -0,0 +1,58 @@ + +ViewTimeline vs. scroll-padding-* + + + + + + + + + +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-source.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-source.tentative.html new file mode 100644 index 0000000000..f8aabc8bdd --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-source.tentative.html @@ -0,0 +1,94 @@ + + + +View timeline source + + + + + + +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-block.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-block.html new file mode 100644 index 0000000000..43b717560d --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-block.html @@ -0,0 +1,94 @@ + + + + +View timeline with sticky + + + + + + + + + +
+
+
+
+
+
Subject
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-inline.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-inline.html new file mode 100644 index 0000000000..4dc8331d9f --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-sticky-inline.html @@ -0,0 +1,90 @@ + + + + +View timeline with sticky + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-subject-size-changes.html b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-subject-size-changes.html new file mode 100644 index 0000000000..ee7ce90678 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/view-timeline-subject-size-changes.html @@ -0,0 +1,81 @@ + + + +View timeline Subject size changes after creation of Animation + + + + + + + + +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/scroll-animations/view-timelines/zero-intrinsic-iteration-duration.tentative.html b/testing/web-platform/tests/scroll-animations/view-timelines/zero-intrinsic-iteration-duration.tentative.html new file mode 100644 index 0000000000..4eec5d8f13 --- /dev/null +++ b/testing/web-platform/tests/scroll-animations/view-timelines/zero-intrinsic-iteration-duration.tentative.html @@ -0,0 +1,106 @@ + + + + + + + + + + + +Animation range updates play state + + + +
+
+
+ + -- cgit v1.2.3