Bug
1793484 [wpt PR 36235] - [scroll-animations] Support view-timeline-inset:auto" (reland), a=testonly
Automatic update from web-platform-tests
[scroll-animations] Support view-timeline-inset:auto" (reland)
When the author specifies view-timeline-inset:auto, it is supposed to
use the value from the corresponding scroll-padding property. This CL
implements that behavior.
Since some length utils expect LayoutUnit rather than double, it made
sense to keep values as LayoutUnits where possible to avoid converting
too much back and forth.
Also, it turns out that the default Length() constructor is effectively
"auto", so I had to change the default insets to Length::Fixed(), which
is "0".
Bug:
1317765
Change-Id: I2d6f9fd91fcfac2197bf31ce9c24e9f7f8ba52a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3931554
Auto-Submit: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1055948}
--
wpt-commits:
b2deaa65f9de3148b8405db172e5ba3c01c482a9
wpt-pr: 36235