Skip to content

Commit

Permalink
[scroll-animations] Modernize at-scroll-timeline-sampling.html
Browse files Browse the repository at this point in the history
Bug: 1317765
Change-Id: Iebbe27b8269e85605b0150e65dac1ab4c75175bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3855283
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Robert Flack <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1040572}
  • Loading branch information
andruud authored and chromium-wpt-export-bot committed Aug 29, 2022
1 parent db97849 commit 1757d32
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!DOCTYPE html>
<link rel="help" src="https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-at-rule">
<link rel="help" src="https://drafts.csswg.org/scroll-animations-1/#avoiding-cycles">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
Expand All @@ -9,6 +8,7 @@
overflow: hidden;
width: 100px;
height: 100px;
scroll-timeline: timeline;
}
#contents {
height: 200px;
Expand All @@ -17,9 +17,6 @@
from { width: 100px; }
to { width: 200px; }
}
@scroll-timeline timeline {
source: selector(#scroller);
}
#element {
width: 0px;
animation: expand 10s linear;
Expand Down

0 comments on commit 1757d32

Please sign in to comment.