| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8ef83b44312f0b5569572bbeac5bbb7647bb3ddf
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html
|
| @@ -0,0 +1,37 @@
|
| +<!DOCTYPE html>
|
| +<link href="resources/grid.css" rel="stylesheet">
|
| +<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +.grid {
|
| + border: 5px solid;
|
| + width: fit-content;
|
| + grid-template-rows: 50px;
|
| + font: 25px/1 Ahem;
|
| +}
|
| +.i1 {
|
| + color: magenta;
|
| + background: cyan;
|
| + writing-mode: vertical-lr;
|
| +}
|
| +</style>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/check-layout-th.js"></script>
|
| +<script>
|
| + function runTest() {
|
| + checkLayout('.grid');
|
| + document.body.offsetLeft;
|
| + checkLayout('.grid');
|
| + document.body.offsetLeft;
|
| + checkLayout('.grid');
|
| + }
|
| +</script>
|
| +<body onload="runTest();">
|
| +<p>Regression test for bug 628565 - Ensure that we get the same sizing results when doing several layouts.</p>
|
| +<div class="grid" data-expected-width="35" data-expected-height="60">
|
| + <div class="i1" data-expected-width="50" data-expected-height="50">XX X</div>
|
| +</div>
|
| +</body
|
|
|