Commit 0293f6c6 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[css-grid] Migrate flex-sizing-columns-min-max-width.html to WPT

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

Additionally, this test is renamed to
flex-sizing-columns-min-max-width-001.html to be align
with existing tests.

Bug: 1063749
Change-Id: Ia88b67bd6ace8b2901990da9da26e5643a2ceaf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152127
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759638}
parent 293fc917
<!DOCTYPE HTML>
<link href="resources/grid.css" rel="stylesheet">
<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
<title>CSS Grid Layout Test: min and max size when computing the flex fraction</title>
<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/width-keyword-classes.css" rel="stylesheet">
<meta name="assert" content="This test ensures that minimum and maximum sizes are used to compute the flex fraction for indefinite free spaces."/>
<style>
.grid {
margin: 3px;
......@@ -15,10 +20,9 @@
.item:nth-child(1) { background-color: purple; }
.item:nth-child(2) { background-color: blue; }
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<p>This test PASS if all the grids in the same row look the same.</p>
......
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