mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 1ac959f3e6198767fecf67740d3e1687b184265f
This commit is contained in:
parent
4f4e219e54
commit
33079866c1
61 changed files with 1114 additions and 284 deletions
|
@ -0,0 +1,22 @@
|
|||
<!doctype html>
|
||||
<title>CSS Animations Test: Chrome crash when removing documentElement and @keyframes stylesheet</title>
|
||||
<link rel="help" href="https://crbug.com/999522">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
@keyframes anim {
|
||||
from { color: pink }
|
||||
to { color: purple }
|
||||
}
|
||||
div {
|
||||
animation: notfound 1s;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
||||
<script>
|
||||
test(() => {
|
||||
document.body.offsetTop;
|
||||
document.querySelector("style").remove();
|
||||
document.documentElement.remove();
|
||||
}, "Removing documentElement and @keyframes sheet should not crash.");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue