Chromium Code Reviews| Index: LayoutTests/animations/base-render-style-body-crash.html |
| diff --git a/LayoutTests/animations/base-render-style-body-crash.html b/LayoutTests/animations/base-render-style-body-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..85ef61de7e9194a04a7ab7d784dcb23dc1564940 |
| --- /dev/null |
| +++ b/LayoutTests/animations/base-render-style-body-crash.html |
| @@ -0,0 +1,27 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +body { -webkit-transition: background-color 1s } |
|
dstockwell
2015/03/18 11:05:54
just 'transition'
rune
2015/03/18 14:53:02
Done.
|
| +.green { background-color: green } |
| +</style> |
| +<style id="sheet"></style> |
| +<script> |
| +if (window.testRunner) { |
| + testRunner.waitUntilDone(); |
| + testRunner.dumpAsText(); |
| +} |
| + |
| +onload = function(){ |
| + document.body.className = "green"; |
| + // Needs these frames to establish a baseLayoutStyle. |
| + requestAnimationFrame(function(){ |
| + requestAnimationFrame(function(){ |
| + requestAnimationFrame(function(){ |
| + sheet.innerText = "@font-face { font-family: notfound; src: url(notfound.ttf) }"; |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| + }); |
| + }); |
| + }); |
| +}; |
| +</script> |
| +<p>Pass if no crash or assert</p> |