3 <link href=
"resources/grid.css" rel=
"stylesheet">
4 <script src=
"../../resources/check-layout.js"></script>
15 <body onload=
"checkLayout('.container')">
17 <p>This test checks that the grid's items are not affected by the 'float' and 'clear' properties.
</p>
19 <div style=
"position: relative">
20 <div class=
"container grid">
21 <div style=
"float: right;" class=
"gridItem firstRowFirstColumn" data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50"></div>
22 <div class=
"gridItem firstRowFirstColumn" data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50"></div>
23 <div style=
"float: left;" class=
"gridItem firstRowSecondColumn" data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50"></div>
24 <div style=
"float: left;" class=
"gridItem secondRowFirstColumn" data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"50"></div>
25 <div style=
"clear: both;" class=
"gridItem secondRowFirstColumn" data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"50"></div>
26 <div style=
"float: left;" class=
"gridItem secondRowSecondColumn" data-offset-x=
"50" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"50"></div>