Index: third_party/WebKit/LayoutTests/paint/invalidation/resize-iframe-text.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/resize-iframe-text.html b/third_party/WebKit/LayoutTests/paint/invalidation/resize-iframe-text.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c27c1d849ca716ef6b309d7251bfe9db84ebf358 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/resize-iframe-text.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ if (window.testRunner) |
+ testRunner.useUnfortunateSynchronousResizeMode(); |
+ window.resizeBy(0, 200); |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |
+Test passes if you see "Success" after window resizes. |
+<iframe style="position: absolute; left: 0; top: 0; border: none; height: 100%; width: 100%;" src="../../fast/repaint/./resources/resize-iframe-text-src.html"></iframe> |