Skip to content

Commit

Permalink
Update scroll-timeline-multi-pass.tentative.html
Browse files Browse the repository at this point in the history
Bug: 1432627
Change-Id: I8728ac267115d0a04410877e09a4369c7ff1eb28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4520395
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1142662}
  • Loading branch information
kevers-google authored and pull[bot] committed Sep 11, 2023
1 parent f68966a commit 1236777
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
main {
height: 0px;
overflow: hidden;
scroll-timeline: timeline1 defer, timeline2 defer;
}
.scroller {
height: 100px;
Expand Down Expand Up @@ -49,7 +50,7 @@
function insertScroller(timeline_name) {
let scroller = document.createElement('div');
scroller.classList.add('scroller');
scroller.style.scrollTimeline = timeline_name;
scroller.style.scrollTimeline = `${timeline_name} ancestor`;
scroller.append(document.createElement('div'));
main.insertBefore(scroller, element1);
}
Expand Down

0 comments on commit 1236777

Please sign in to comment.