Index: LayoutTests/fast/flexbox/relayout-stretched-flexbox.html |
diff --git a/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html b/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4572c82b1a512121fdc09b44ad699f3612f434c0 |
--- /dev/null |
+++ b/LayoutTests/fast/flexbox/relayout-stretched-flexbox.html |
@@ -0,0 +1,30 @@ |
+<!DOCTYPE html> |
+<style> |
+body * { |
+ display: flex; |
+ flex: 1; |
+} |
+ |
+#column1{ |
+ flex-direction: column; |
+} |
+</style> |
+<script src="../../resources/check-layout.js"></script> |
+<script> |
+onload = function() { |
+ var container = document.getElementById("column2"); |
+ |
+ container.innerText = "I like to eat eat eat apples and bananas."; |
+ container.offsetTop; |
+ container.innerText = ''; |
+ checkLayout("#column1"); |
+} |
+</script> |
+<body> |
+<div style="width: 100px;"> |
+ <div id="column1" data-expected-height=0> |
+ <div></div> |
+ </div> |
+ <div id="column2"> |
+ </div> |
+</div> |