Index: LayoutTests/css3/flexbox/flexbox-height-with-overflow-auto.html |
diff --git a/LayoutTests/css3/flexbox/flexbox-height-with-overflow-auto.html b/LayoutTests/css3/flexbox/flexbox-height-with-overflow-auto.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..241e6eba8f21203fb95bdbd0d19202f14786c1ed |
--- /dev/null |
+++ b/LayoutTests/css3/flexbox/flexbox-height-with-overflow-auto.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html> |
+<link href="resources/flexbox.css" rel="stylesheet"> |
+<style> |
+.flexbox { |
+ border: 5px solid green; |
+ position: relative; |
+ width: 50px; |
+} |
+ |
+.overflow { |
+ border: 1px solid red; |
+ overflow:auto; |
+} |
+ |
+.overflow > div { |
+ width:100px; |
+ height:20px; |
+} |
+</style> |
+<script src="../../resources/check-layout.js"></script> |
+<body onload="checkLayout('.flexbox')"> |
+<div class="flexbox" data-expected-height="47"> |
+ <div class="overflow"><div></div></div> |
+</div> |
+ |
+<div class="flexbox row-reverse" data-expected-height="47"> |
+ <div class="overflow"><div></div></div> |
+</div> |
+</body> |
+</html> |