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> |
+ |