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

Unified Diff: LayoutTests/fast/repaint/scrollbar-parts.html

Issue 418483004: Fix scrollbar damage accumulation issue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 6 years, 5 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/scrollbar-parts-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/scrollbar-parts.html
diff --git a/LayoutTests/fast/repaint/scrollbar-parts.html b/LayoutTests/fast/repaint/scrollbar-parts.html
new file mode 100644
index 0000000000000000000000000000000000000000..77150338c51e41718b67ddc27cf7bb32de4c9594
--- /dev/null
+++ b/LayoutTests/fast/repaint/scrollbar-parts.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ var child = document.getElementById('child');
+ child.style.width = '150px';
+ child.style.height = '300px';
+}
+onload = runRepaintTest;
+</script>
+
+<!-- The scrollbar parts (forward track, thumb and back track) of the container
+ should be properly repainted when the contents change size. -->
+<div style="width: 100px; height: 100px; overflow: scroll">
+ <div id="child" style="width: 200px; height: 200px"></div>
+</div>
+
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/scrollbar-parts-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698