<!DOCTYPE html>
<div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px;">
    <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200 data-expected-height=100></div>
</div>

<div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px; -webkit-box-orient: vertical;">
    <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200 data-expected-height=100></div>
</div>

<script src="../../resources/check-layout.js"></script>
<script>
checkLayout('#flexbox');
</script>