OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../resources/check-layout.js"></script> |
| 5 <link href="resources/grid.css" rel="stylesheet"> |
| 6 <style> |
| 7 |
| 8 .clampRepetitionsBelowLimit { |
| 9 grid-template-rows: repeat(9995, 1px); |
| 10 } |
| 11 |
| 12 .clampRepetitionsOnLimit { |
| 13 grid-template-rows: repeat(10000, 1px); |
| 14 } |
| 15 |
| 16 .clampRepetitionsAboveLimit { |
| 17 grid-template-rows: repeat(10005, 1px); |
| 18 } |
| 19 |
| 20 </style> |
| 21 </head> |
| 22 <body onload="checkLayout('.grid')"> |
| 23 |
| 24 <div>Test the values greater than the maximum repetitions value are clamped thro
ugh CSS.</div> |
| 25 |
| 26 <div class="grid clampRepetitionsBelowLimit" data-expected-height="9995"></div> |
| 27 |
| 28 <div class="grid clampRepetitionsOnLimit" data-expected-height="10000"></div> |
| 29 |
| 30 <div class="grid clampRepetitionsAboveLimit" data-expected-height="10000"></div> |
| 31 |
| 32 </body> |
| 33 </html> |
OLD | NEW |