Index: LayoutTests/fast/repaint/horizontal-scrollbar-shrink-container-height.html |
diff --git a/LayoutTests/fast/repaint/horizontal-scrollbar-shrink-container-height.html b/LayoutTests/fast/repaint/horizontal-scrollbar-shrink-container-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..253a0632ce6129d12d6910906898e777ab42350b |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/horizontal-scrollbar-shrink-container-height.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>Test decreasing the height of the containing block of a scrollable container with percent height.</p> |
+<p>One horizontal scrollbar should be seen below.</p> |
+<div id="target" style="height:450px;"> |
+ <div style="height:50%; overflow-x:scroll;"></div> |
+</div> |
+<script src="resources/display-then-call.js"></script> |
+<script> |
+ function changeSize() { |
+ document.getElementById('target').style.height = '250px'; |
+ } |
+ displayThenCall(changeSize); |
+</script> |