From 1757d32400cbc5511ea183a2bdecaa70b4c73813 Mon Sep 17 00:00:00 2001 From: Anders Hartvoll Ruud Date: Mon, 29 Aug 2022 13:23:10 -0700 Subject: [PATCH] [scroll-animations] Modernize at-scroll-timeline-sampling.html Bug: 1317765 Change-Id: Iebbe27b8269e85605b0150e65dac1ab4c75175bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3855283 Commit-Queue: Anders Hartvoll Ruud Reviewed-by: Robert Flack Cr-Commit-Position: refs/heads/main@{#1040572} --- ...-timeline-sampling.html => scroll-timeline-sampling.html} | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename scroll-animations/css/{at-scroll-timeline-sampling.html => scroll-timeline-sampling.html} (89%) diff --git a/scroll-animations/css/at-scroll-timeline-sampling.html b/scroll-animations/css/scroll-timeline-sampling.html similarity index 89% rename from scroll-animations/css/at-scroll-timeline-sampling.html rename to scroll-animations/css/scroll-timeline-sampling.html index cc3507732922c6..1fe354edfd694a 100644 --- a/scroll-animations/css/at-scroll-timeline-sampling.html +++ b/scroll-animations/css/scroll-timeline-sampling.html @@ -1,5 +1,4 @@ - @@ -9,6 +8,7 @@ overflow: hidden; width: 100px; height: 100px; + scroll-timeline: timeline; } #contents { height: 200px; @@ -17,9 +17,6 @@ from { width: 100px; } to { width: 200px; } } - @scroll-timeline timeline { - source: selector(#scroller); - } #element { width: 0px; animation: expand 10s linear;