2 <script src="../../../resources/check-layout.js"></script>
9 <body onload="checkLayout('#line')">
10 <div style="height: 20px;">
11 <div style="background-color: gray; height: 40px;">
12 <div style="float: left; height: 30px; background-color: blue; width: 100px;"></div>
14 <div style="background-color: gray; height: 40px;">
15 <div style="float: left; height: 30px; background-color: blue; width: 100px;"></div>
17 <div style="background-color: gray; height: 40px;">
20 <div style="background-color: silver; height: 80px;">
21 <div id="line" data-total-x=100 style="display:inline-block;">This line should not overlap the blue box.</div>