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