| Index: third_party/WebKit/LayoutTests/web-animations-api/animation-ready-reject-script-forbidden.html
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-ready-reject-script-forbidden.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-ready-reject-script-forbidden.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a40fa0e38130e82d38fe28774af86bc96ff60cfc
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-ready-reject-script-forbidden.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<div id=element>x</div>
|
| +<style>
|
| + #element {
|
| + transition: transform 2000ms;
|
| + }
|
| +</style>
|
| +<script>
|
| + async_test(function(t) {
|
| + element.offsetTop; // Force recalc
|
| + element.style.transform = "rotateX(180deg)";
|
| + element.offsetTop; // Force recalc
|
| + var animation = element.getAnimations()[0];
|
| + return animation.ready.catch(function() { t.done(); });
|
| + });
|
| +</script>
|
| +<style>
|
| + * { content: ""; }
|
| +</style>
|
|
|