Chromium Code Reviews| 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..3725b8d351df4065bd290cee31606c0994d9578b |
| --- /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 = "EAE likes to eat eat eat apples and bananas."; |
|
eae
2014/11/12 02:05:37
Oh come on now, please don't lie in tests!
|
| + 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> |