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

Unified Diff: LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.html
diff --git a/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.html b/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.html
new file mode 100644
index 0000000000000000000000000000000000000000..b78a559bbf3a1552b17e164e7c6284b901ccddb8
--- /dev/null
+++ b/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.html
@@ -0,0 +1,20 @@
+<!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;
+}
+</style>
+When a scrollable area is resized, the invalidation area should cover non-composited scrollbars.
+<div id="scrollable"></div>
+
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/scrollbar-invalidation-on-resize-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698