mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'704eebbe6af5b43643971e96e33a0c979fba2904'
This commit is contained in:
parent
f8e014d0ba
commit
a6bc3e1a73
194 changed files with 13122 additions and 1992 deletions
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
<div id="target"></div>
|
||||
<div id="target" style="font-size:10px;"></div>
|
||||
<script>
|
||||
test_computed_value("animation-range-end", "initial", "auto");
|
||||
test_computed_value("animation-range-end", "auto");
|
||||
|
@ -17,4 +17,8 @@ test_computed_value("animation-range-end", "contain 42%");
|
|||
test_computed_value("animation-range-end", "exit 42%");
|
||||
test_computed_value("animation-range-end", "exit calc(41% + 1%)", "exit 42%");
|
||||
test_computed_value("animation-range-end", "exit 1%, cover 2%, contain 100%");
|
||||
test_computed_value("animation-range-end", "enter 42px");
|
||||
test_computed_value("animation-range-end", "contain calc(10% + 10px)");
|
||||
test_computed_value("animation-range-end", "enter 1em", "enter 10px");
|
||||
test_computed_value("animation-range-end", "exit calc(1em + 10px)", "exit 20px");
|
||||
</script>
|
||||
|
|
|
@ -20,7 +20,6 @@ test_invalid_value("animation-range-end", "50% exit");
|
|||
test_invalid_value("animation-range-end", "contain contain");
|
||||
test_invalid_value("animation-range-end", "none");
|
||||
test_invalid_value("animation-range-end", "cover 50% enter 50%");
|
||||
test_invalid_value("animation-range-end", "cover 100px");
|
||||
test_invalid_value("animation-range-end", "cover");
|
||||
test_invalid_value("animation-range-end", "contain");
|
||||
test_invalid_value("animation-range-end", "enter");
|
||||
|
|
|
@ -14,6 +14,10 @@ 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%");
|
||||
test_valid_value("animation-range-end", "enter 42px");
|
||||
test_valid_value("animation-range-end", "contain calc(10px + 10%)");
|
||||
test_valid_value("animation-range-end", "enter 1em");
|
||||
test_valid_value("animation-range-end", "exit calc(1em + 10px)");
|
||||
|
||||
// There's an open issue in the spec about "enter" vs "entry".
|
||||
//
|
||||
|
|
|
@ -16,12 +16,16 @@ test_valid_value("animation-range", "enter 0% enter 100%", "enter");
|
|||
test_valid_value("animation-range", "exit 0% exit 100%", "exit");
|
||||
test_valid_value("animation-range", "cover 0% cover 100%", "cover");
|
||||
test_valid_value("animation-range", "contain 0% contain 100%", "contain");
|
||||
test_valid_value("animation-range", "enter calc(10% - 10%) enter calc(50% + 50%)", "enter");
|
||||
|
||||
test_valid_value("animation-range", "cover 50%");
|
||||
test_valid_value("animation-range", "contain 50%");
|
||||
test_valid_value("animation-range", "enter 50%");
|
||||
test_valid_value("animation-range", "exit 50%");
|
||||
|
||||
test_valid_value("animation-range", "enter 50px exit 100px");
|
||||
test_valid_value("animation-range", "exit calc(10% + 50px)");
|
||||
|
||||
test_valid_value("animation-range", "enter 50% exit 50%");
|
||||
test_valid_value("animation-range", "cover 50% enter 50%, contain 50% exit 50%");
|
||||
|
||||
|
@ -62,6 +66,11 @@ test_shorthand_value('animation-range', 'enter 10% exit 20%', {
|
|||
'animation-range-end': 'exit 20%',
|
||||
});
|
||||
|
||||
test_shorthand_value('animation-range', 'enter calc(10% + 10px) exit 20px', {
|
||||
'animation-range-start': 'enter calc(10% + 10px)',
|
||||
'animation-range-end': 'exit 20px',
|
||||
});
|
||||
|
||||
test_shorthand_value('animation-range', 'enter, exit', {
|
||||
'animation-range-start': 'enter 0%, exit 0%',
|
||||
'animation-range-end': 'enter 100%, exit 100%',
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
<div id="target"></div>
|
||||
<div id="target" style="font-size:10px;"></div>
|
||||
<script>
|
||||
test_computed_value("animation-range-start", "initial", "auto");
|
||||
test_computed_value("animation-range-start", "auto");
|
||||
|
@ -17,4 +17,8 @@ test_computed_value("animation-range-start", "contain 42%");
|
|||
test_computed_value("animation-range-start", "exit 42%");
|
||||
test_computed_value("animation-range-start", "exit calc(41% + 1%)", "exit 42%");
|
||||
test_computed_value("animation-range-start", "exit 1%, cover 2%, contain 100%");
|
||||
test_computed_value("animation-range-start", "enter 42px");
|
||||
test_computed_value("animation-range-start", "contain calc(10% + 10px)");
|
||||
test_computed_value("animation-range-start", "enter 1em", "enter 10px");
|
||||
test_computed_value("animation-range-start", "exit calc(1em + 10px)", "exit 20px");
|
||||
</script>
|
||||
|
|
|
@ -13,7 +13,6 @@ test_invalid_value("animation-range-start", "50% exit");
|
|||
test_invalid_value("animation-range-start", "contain contain");
|
||||
test_invalid_value("animation-range-start", "none");
|
||||
test_invalid_value("animation-range-start", "cover 50% enter 50%");
|
||||
test_invalid_value("animation-range-start", "cover 100px");
|
||||
test_invalid_value("animation-range-start", "cover");
|
||||
test_invalid_value("animation-range-start", "contain");
|
||||
test_invalid_value("animation-range-start", "enter");
|
||||
|
|
|
@ -14,6 +14,10 @@ test_valid_value("animation-range-start", "cover -42%");
|
|||
test_valid_value("animation-range-start", "contain 42%");
|
||||
test_valid_value("animation-range-start", "exit 42%");
|
||||
test_valid_value("animation-range-start", "exit 1%, cover 2%, contain 100%");
|
||||
test_valid_value("animation-range-start", "enter 42px");
|
||||
test_valid_value("animation-range-start", "contain calc(10px + 10%)");
|
||||
test_valid_value("animation-range-start", "enter 1em");
|
||||
test_valid_value("animation-range-start", "exit calc(1em + 10px)");
|
||||
|
||||
// There's an open issue in the spec about "enter" vs "entry".
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue