2 <link href=
"resources/grid.css" rel=
"stylesheet">
4 .negativeStartBeforePositionIndexes {
8 .negativeEndAfterPositionIndexes {
12 .negativePositionIndexes {
14 grid-column: -
8 / -
54;
17 <script src=
"../../resources/check-layout.js"></script>
18 <body onload=
"checkLayout('.grid')">
19 <div>This test checks that negative grid position indexes don't make us crash.
</div>
21 <div class=
"unconstrainedContainer">
23 <div class=
"sizedToGridArea negativeStartBeforePositionIndexes" data-expected-width=
"120" data-expected-height=
"10">XXXXX XXXXXX
</div>
27 <div class=
"unconstrainedContainer">
29 <div class=
"sizedToGridArea negativeEndAfterPositionIndexes" data-expected-width=
"120" data-expected-height=
"10">XXXXX XXXXXX
</div>
33 <div class=
"unconstrainedContainer">
35 <div class=
"sizedToGridArea negativePositionIndexes" data-expected-width=
"120" data-expected-height=
"10">XXXXX XXXXXX
</div>