mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +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
|
@ -17,9 +17,13 @@ test_valid_value('scroll-timeline', 'none vertical');
|
|||
test_valid_value('scroll-timeline', 'inline inline');
|
||||
test_valid_value('scroll-timeline', 'abc');
|
||||
test_valid_value('scroll-timeline', 'inline');
|
||||
test_valid_value('view-timeline', 'a, b, c');
|
||||
test_valid_value('view-timeline', 'a inline, b block, c vertical', 'a inline, b, c vertical');
|
||||
|
||||
test_invalid_value('scroll-timeline', '');
|
||||
test_invalid_value('scroll-timeline', 'abc abc');
|
||||
test_invalid_value('view-timeline', ',');
|
||||
test_invalid_value('view-timeline', ',,block,,');
|
||||
|
||||
test_computed_value('scroll-timeline', 'none block', 'none');
|
||||
test_computed_value('scroll-timeline', 'abc inline');
|
||||
|
@ -27,6 +31,8 @@ test_computed_value('scroll-timeline', 'none vertical', 'none vertical');
|
|||
test_computed_value('scroll-timeline', 'abc horizontal');
|
||||
test_computed_value('scroll-timeline', 'vertical vertical');
|
||||
test_computed_value('scroll-timeline', 'abc');
|
||||
test_computed_value('view-timeline', 'a, b, c');
|
||||
test_computed_value('view-timeline', 'a inline, b block, c vertical', 'a inline, b, c vertical');
|
||||
|
||||
test_shorthand_value('scroll-timeline', 'abc vertical',
|
||||
{
|
||||
|
@ -38,4 +44,14 @@ test_shorthand_value('scroll-timeline', 'inline horizontal',
|
|||
'scroll-timeline-name': 'inline',
|
||||
'scroll-timeline-axis': 'horizontal',
|
||||
});
|
||||
test_shorthand_value('scroll-timeline', 'abc vertical, def',
|
||||
{
|
||||
'scroll-timeline-name': 'abc, def',
|
||||
'scroll-timeline-axis': 'vertical, block',
|
||||
});
|
||||
test_shorthand_value('scroll-timeline', 'abc, def',
|
||||
{
|
||||
'scroll-timeline-name': 'abc, def',
|
||||
'scroll-timeline-axis': 'block, block',
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
height: 100px;
|
||||
z-index: -1;
|
||||
background-color: green;
|
||||
font-size: 10px;
|
||||
}
|
||||
</style>
|
||||
<main id=main>
|
||||
|
@ -142,4 +143,47 @@
|
|||
startOffset: 600,
|
||||
endOffset: 900
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'cover 20px',
|
||||
rangeEnd: 'cover 100px',
|
||||
startOffset: 620,
|
||||
endOffset: 700
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'contain 20px',
|
||||
rangeEnd: 'contain 100px',
|
||||
startOffset: 720,
|
||||
endOffset: 800
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'enter 20px',
|
||||
rangeEnd: 'enter 100px',
|
||||
startOffset: 620,
|
||||
endOffset: 700
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'exit 20px',
|
||||
rangeEnd: 'exit 80px',
|
||||
startOffset: 820,
|
||||
endOffset: 880
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'contain 20px',
|
||||
rangeEnd: 'contain calc(100px - 10%)',
|
||||
startOffset: 720,
|
||||
endOffset: 790
|
||||
});
|
||||
|
||||
test_animation_delay({
|
||||
rangeStart: 'exit 2em',
|
||||
rangeEnd: 'exit 8em',
|
||||
startOffset: 820,
|
||||
endOffset: 880
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue