blob: c6f75db6dc871f17d459ce6a5260444955bcd8e2 [file] [log] [blame]
<!DOCTYPE html>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
.red {
height: 400px;
background: red;
}
canvas {
background: green;
}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<div id=log></div>
<div class="red">
<div class="flexbox column">
<canvas id="canvas" data-expected-height="400"></canvas>
</div>
</div>
<script>
var canvas = document.getElementById('canvas');
requestAnimationFrame(function() {
canvas.height = 400;
checkLayout('.flexbox');
});
</script>