Index: LayoutTests/fast/repaint/iframe-throttling-raf.html |
diff --git a/LayoutTests/fast/repaint/iframe-throttling-raf.html b/LayoutTests/fast/repaint/iframe-throttling-raf.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee12c0b03e115765bc4d95aa620ec4f65cf7b9e6 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/iframe-throttling-raf.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<!-- Check that a constantly invalidating out-of-view frame does not cause repaints. --> |
+<style> |
+iframe |
+{ |
+ transform: translateY(2000px) translateZ(0); |
+} |
+</style> |
+ |
+<script src="resources/text-based-repaint.js"></script> |
+<script src="resources/ensure-no-repaints.js"></script> |
+ |
+<!-- Use sandboxing to allow rendering pipeline throtting. --> |
+<iframe src="resources/frame-invalidated-by-raf.html" sandbox="allow-scripts" width="64" height="64"></iframe> |