| Index: LayoutTests/fast/repaint/resources/frame-invalidated-by-raf.html
|
| diff --git a/LayoutTests/fast/repaint/resources/frame-invalidated-by-raf.html b/LayoutTests/fast/repaint/resources/frame-invalidated-by-raf.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5dee1459bbc7eaf96cd626d67d45e6023c9bf1f1
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/resources/frame-invalidated-by-raf.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<!-- A document which constantly invalidates itself using requestAnimationFrame. -->
|
| +<script>
|
| +var frame = 0;
|
| +function animate()
|
| +{
|
| + document.body.style.background = (frame++ % 2) ? 'orange' : 'yellow';
|
| + window.requestAnimationFrame(animate);
|
| +}
|
| +window.addEventListener('load', animate);
|
| +</script>
|
|
|