OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <link href="resources/grid.css" rel="stylesheet"> |
| 4 <style> |
| 5 .grid { |
| 6 grid-template-columns: 400px 500px; |
| 7 grid-template-rows: 200px 300px; |
| 8 } |
| 9 |
| 10 .gridItemScrollOverflow { |
| 11 width: 50px; |
| 12 height: 50px; |
| 13 overflow: scroll; |
| 14 } |
| 15 |
| 16 </style> |
| 17 <script src="../../resources/check-layout.js"></script> |
| 18 <body onload="checkLayout('.grid')"> |
| 19 |
| 20 <p>This test checks that scrollbar width should not be added to the width of fix
ed-width grid items.</p> |
| 21 |
| 22 <div class="grid"> |
| 23 <div class="firstRowFirstColumn gridItemScrollOverflow" data-expected-width=
"50" data-expected-height="50"></div> |
| 24 <div class="firstRowSecondColumn gridItemScrollOverflow" data-expected-width
="50" data-expected-height="50"></div> |
| 25 <div class="secondRowFirstColumn gridItemScrollOverflow" data-expected-width
="50" data-expected-height="50"></div> |
| 26 <!-- Grid item itself being a grid container--> |
| 27 <div class="grid secondRowSecondColumn gridItemScrollOverflow" data-expected
-width="50" data-expected-height="50"></div> |
| 28 </div> |
| 29 |
| 30 </body> |
| 31 </html> |
OLD | NEW |