mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'8a99353217938b6f1da31a9a108da3d501cee58b'
This commit is contained in:
parent
62ec0f1ec7
commit
92be0baf34
211 changed files with 5373 additions and 2272 deletions
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="help" href="https://drafts.csswg.org/scroll-animations-1/#propdef-animation-range">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
<script>
|
||||
// https://drafts.csswg.org/scroll-animations-1/#view-timelines-ranges
|
||||
test_valid_value("animation-range-end", "auto");
|
||||
test_valid_value("animation-range-end", "cover 0%");
|
||||
test_valid_value("animation-range-end", "cover 100%");
|
||||
test_valid_value("animation-range-end", "cover 120%");
|
||||
test_valid_value("animation-range-end", "cover 42%");
|
||||
test_valid_value("animation-range-end", "cover -42%");
|
||||
test_valid_value("animation-range-end", "contain 42%");
|
||||
test_valid_value("animation-range-end", "exit 42%");
|
||||
test_valid_value("animation-range-end", "exit 1%, cover 2%, contain 100%");
|
||||
|
||||
// There's an open issue in the spec about "enter" vs "entry".
|
||||
//
|
||||
// https://drafts.csswg.org/scroll-animations-1/#valdef-animation-timeline-range-entry
|
||||
test_valid_value("animation-range-end", "enter 42%");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue