summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/relayout-stretched-flexbox.html
blob: 4572c82b1a512121fdc09b44ad699f3612f434c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>