From 7681dc8f970a252f64dfb42e98907b65b5ab3b04 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Mon, 7 Sep 2009 12:35:14 +1200 Subject: [PATCH] Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron --HG-- extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2 --- layout/base/tests/scrolling_helper.html | 101 +++++++++++++++++++++--- view/src/nsScrollPortView.cpp | 91 ++++++++++----------- 2 files changed, 128 insertions(+), 64 deletions(-) diff --git a/layout/base/tests/scrolling_helper.html b/layout/base/tests/scrolling_helper.html index 6ab4d171fe77..3072fe7ce3a9 100644 --- a/layout/base/tests/scrolling_helper.html +++ b/layout/base/tests/scrolling_helper.html @@ -20,7 +20,8 @@ body > div { tests which expect to observe scrolling happening. -->
@@ -70,6 +71,22 @@ body > div {
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+