Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

[css-grid] Update implied minimum size of grid items tests #1198

Merged
merged 1 commit into from
Feb 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-001.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Checks that minimum size for grid items is the content size." />
Expand All @@ -18,7 +18,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-002.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="assert" content="Checks that minimum size for grid items is the content size." />
<style type="text/css"><![CDATA[
Expand All @@ -17,7 +17,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-003.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size regardless of the content size." />
<style type="text/css"><![CDATA[
Expand All @@ -17,7 +17,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-004.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size regardless of the content size." />
<style type="text/css"><![CDATA[
Expand All @@ -17,7 +17,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-005.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Checks that minimum size for grid items is the content size." />
Expand All @@ -18,7 +18,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}
]]></style>
</head>
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-006.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size for width (regardless the content size) and the transferred size for height (as it's smaller than the content size of the image)." />
Expand All @@ -18,7 +18,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
7 changes: 5 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-007.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size for width (regardless the content size) and the content size for height (as it's smaller than the transferred size of the image)." />
Expand All @@ -18,11 +18,14 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
width: 100px;
justify-self: stretch;
align-self: stretch;
}
]]></style>
</head>
Expand Down
5 changes: 3 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-008.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size for height (regardless the content size) and the transferred size for width (as it's smaller than the content size of the image)." />
Expand All @@ -18,7 +18,8 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
Expand Down
7 changes: 5 additions & 2 deletions css-grid-1/grid-items/grid-minimum-size-grid-items-009.xht
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>CSS Grid Layout Test: Minimum size of grid items</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.5. Implied Minimum Size of Grid Items" />
<link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="6.6. Implied Minimum Size of Grid Items" />
<link rel="match" href="../../css21/reference/ref-filled-green-100px-square.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Checks that minimum size for grid items is the specified size for height (regardless the content size) and the content size for width (as it's smaller than the transferred size of the image)." />
Expand All @@ -18,11 +18,14 @@

#constrained-grid {
display: grid;
grid: 10px / 10px;
width: 10px;
height: 10px;
}

#test-grid-item-overlapping-green {
height: 100px;
justify-self: stretch;
align-self: stretch;
}
]]></style>
</head>
Expand Down