| Index: LayoutTests/fast/css-grid-layout/grid-element-repeat-max-repetitions.html
|
| diff --git a/LayoutTests/fast/css-grid-layout/grid-element-repeat-max-repetitions.html b/LayoutTests/fast/css-grid-layout/grid-element-repeat-max-repetitions.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..07420426ab63050b53f5e78a372b69b0b2d16bc5
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css-grid-layout/grid-element-repeat-max-repetitions.html
|
| @@ -0,0 +1,33 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../resources/check-layout.js"></script>
|
| +<link href="resources/grid.css" rel="stylesheet">
|
| +<style>
|
| +
|
| +.clampRepetitionsBelowLimit {
|
| + grid-template-rows: repeat(9995, 1px);
|
| +}
|
| +
|
| +.clampRepetitionsOnLimit {
|
| + grid-template-rows: repeat(10000, 1px);
|
| +}
|
| +
|
| +.clampRepetitionsAboveLimit {
|
| + grid-template-rows: repeat(10005, 1px);
|
| +}
|
| +
|
| +</style>
|
| +</head>
|
| +<body onload="checkLayout('.grid')">
|
| +
|
| +<div>Test the values greater than the maximum repetitions value are clamped through CSS.</div>
|
| +
|
| +<div class="grid clampRepetitionsBelowLimit" data-expected-height="9995"></div>
|
| +
|
| +<div class="grid clampRepetitionsOnLimit" data-expected-height="10000"></div>
|
| +
|
| +<div class="grid clampRepetitionsAboveLimit" data-expected-height="10000"></div>
|
| +
|
| +</body>
|
| +</html>
|
|
|