mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -0,0 +1,24 @@
|
|||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1088319">
|
||||
<meta name="assert" content="Playing animation with null scroll source should not crash.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
html {
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: scroll;
|
||||
}
|
||||
</style>
|
||||
<div id="box"></div>
|
||||
<script>
|
||||
test(() => {
|
||||
const effect = new KeyframeEffect(box, []);
|
||||
const timeline = new ScrollTimeline();
|
||||
const animation = new Animation(effect, timeline);
|
||||
assert_equals(document.scrollingElement, null,
|
||||
"This test relies on scrolling element being nil");
|
||||
animation.play();
|
||||
}, "Playing animation with null scroll source should not crash");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue