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

Unified Diff: LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border.html

Issue 726123002: Ensure invalidation of non-composited scrollbars on resize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border.html
diff --git a/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border.html b/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..32a0c1b033fb73f103cc922ec7d0165e5ef42829
--- /dev/null
+++ b/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-with-border.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.getElementById('scrollable').style.width = '300px';
+}
+onload = runRepaintTest;
+</script>
+<style>
+#scrollable {
+ overflow: scroll;
+ position: absolute;
+ top: 50px;
+ width: 100px;
+ height: 100px;
+ border: solid 10px green;
+}
+</style>
+When a scrollable area is resized, the invalidation area should cover non-composited scrollbars.
+<div id="scrollable"></div>
+

Powered by Google App Engine
This is Rietveld 408576698