4 <link href=
"resources/grid.css" rel=
"stylesheet">
9 grid-template-columns:
20%
50%
30%;
10 grid-template-rows:
40%
60%;
20 <script src=
"../../resources/check-layout.js"></script>
22 <body onload=
"checkLayout('.grid');">
23 <p>This test checks that percentage tracks reduce the grid's scrollbars if any in order to calculate their breadths.
</p>
26 <div data-expected-width=
"20" data-expected-height=
"40"></div>
27 <div data-expected-width=
"50" data-expected-height=
"40"></div>
28 <div data-expected-width=
"30" data-expected-height=
"40"></div>
29 <div data-expected-width=
"20" data-expected-height=
"60"></div>
30 <div data-expected-width=
"50" data-expected-height=
"60"></div>
31 <div data-expected-width=
"30" data-expected-height=
"60"></div>
34 <div class=
"grid scroll">
35 <div data-expected-width=
"20" data-expected-height=
"40"></div>
36 <div data-expected-width=
"50" data-expected-height=
"40"></div>
37 <div data-expected-width=
"30" data-expected-height=
"40"></div>
38 <div data-expected-width=
"20" data-expected-height=
"60"></div>
39 <div data-expected-width=
"50" data-expected-height=
"60"></div>
40 <div data-expected-width=
"30" data-expected-height=
"60"></div>