Index: LayoutTests/fast/repaint/horizontal-scrollbar-grow-container-height.html |
diff --git a/LayoutTests/fast/repaint/horizontal-scrollbar-grow-container-height.html b/LayoutTests/fast/repaint/horizontal-scrollbar-grow-container-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c1802fc50bbc8b06c05aecede901cf5031a5377 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/horizontal-scrollbar-grow-container-height.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<p>Test increasing 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:250px;"> |
+ <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 = '450px'; |
+ } |
+ displayThenCall(changeSize); |
+</script> |