OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 | |
3 <style> | |
4 .grid { | |
5 display: grid; | |
6 grid: 1fr / 1fr; | |
7 font: 50px/1 Ahem; | |
8 border: 5px dashed magenta; | |
9 width: 150px; | |
10 height: 150px; | |
11 } | |
12 .item { | |
13 border: 50px solid rgba(0, 255, 250, 0.5); | |
14 } | |
15 </style> | |
16 <script src="../../resources/testharness.js"></script> | |
17 <script src="../../resources/testharnessreport.js"></script> | |
18 <script src="../../resources/check-layout-th.js"></script> | |
19 | |
20 <body onload="checkLayout('.grid')"> | |
21 <div id=log></div> | |
22 | |
23 <div class="grid fixedSizeGrid" data-expected-width="160" data-expected-height=" 160"> | |
jfernandez
2015/12/02 14:32:18
fixedSizedGrid is not defined..
| |
24 <div class="item" data-expected-width="150" data-expected-height="150">X</di v> | |
jfernandez
2015/12/02 14:32:18
I think we might measure the grid item without the
svillar
2015/12/03 09:18:30
Yeah I'll add data-expected-client-* to the tests.
| |
25 </div> | |
26 | |
27 </body> | |
OLD | NEW |