Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1694)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/resize-iframe-text.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698