Commit f8f0afac authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[css-grid] Migrate flex-sizing-rows-min-max-height.html to WPT

This CL migrates flex-sizing-rows-min-max-height.html
from fast/css-grid-layout to
external/wpt/css/css-grid/layout-algorithm with WPT styles,
adding links to the relevant specs, and test description.

This test is renamed to flex-sizing-rows-min-max-height-001.html
to be align with existing tests.

Bug: 1063749
Change-Id: Ie02efebdbbe50c3a7a6307dac3a2097a25d9ad86
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152567
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759906}
parent 1e4f99fa
<!DOCTYPE HTML> <!DOCTYPE HTML>
<link href="resources/grid.css" rel="stylesheet"> <title>CSS Grid Layout Test: min and max height when computing the flex row</title>
<link href="../css-intrinsic-dimensions/resources/height-keyword-classes.css" rel="stylesheet"> <link rel="author" title="Sergio Villar" href="mailto:svillar@igalia.com"/>
<link rel="help" href="https://drafts.csswg.org/css-grid/#algo-flex-tracks"/>
<link rel="issue" href="https://bugs.chromium.org/p/chromium/issues/detail?id=660690"/>
<link href="/css/support/grid.css" rel="stylesheet"/>
<link href="/css/support/height-keyword-classes.css" rel="stylesheet">
<meta name="assert" content="This test ensures that minimum and maximum heights are used to compute the flex fraction for grid rows."/>
<style> <style>
.grid { .grid {
margin: 3px; margin: 3px;
...@@ -16,9 +21,9 @@ ...@@ -16,9 +21,9 @@
.item:nth-child(2) { background-color: blue; } .item:nth-child(2) { background-color: blue; }
</style> </style>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script> <script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')"> <body onload="checkLayout('.grid')">
<div id="log"></div> <div id="log"></div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment