From f7b6f9a9520f8e6c50a4ce607e8f6ea8cb863f10 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Sun, 5 Aug 2012 00:26:58 +1200 Subject: [PATCH] Bug 772679. Testcase. --- layout/base/tests/chrome/Makefile.in | 1 + .../tests/chrome/test_scrolling_repaints.html | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 layout/base/tests/chrome/test_scrolling_repaints.html diff --git a/layout/base/tests/chrome/Makefile.in b/layout/base/tests/chrome/Makefile.in index 2f0f59bb2c19..bcb21fe533c4 100644 --- a/layout/base/tests/chrome/Makefile.in +++ b/layout/base/tests/chrome/Makefile.in @@ -40,6 +40,7 @@ MOCHITEST_CHROME_FILES = \ printpreview_bug396024_helper.xul \ test_printpreview_bug482976.xul \ printpreview_bug482976_helper.xul \ + test_scrolling_repaints.html \ test_transformed_scrolling_repaints.html \ test_transformed_scrolling_repaints_2.html \ $(NULL) diff --git a/layout/base/tests/chrome/test_scrolling_repaints.html b/layout/base/tests/chrome/test_scrolling_repaints.html new file mode 100644 index 000000000000..db163207eee3 --- /dev/null +++ b/layout/base/tests/chrome/test_scrolling_repaints.html @@ -0,0 +1,49 @@ + + + + Test that we don't get unnecessary repaints due to subpixel shifts + + + + + + +
+
+
+
+
+
+
+
+ +