Index: LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html |
diff --git a/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html b/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f8e646e0cfdca3e983ff7c3a6de0e77bd22a35bd |
--- /dev/null |
+++ b/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html |
@@ -0,0 +1,36 @@ |
+<!DOCTYPE html> |
+<head> |
+<link href="resources/grid.css" rel="stylesheet"/> |
+<style> |
+.grid { |
+ font: 10px/1 Ahem; |
+} |
+.gridAutoAndAuto { |
+ grid-template-columns: auto auto; |
+} |
+ |
+.gridFixedMaxContentAndFixedMaxContent { |
+ grid-template-columns: minmax(20px, max-content) minmax(10px, max-content); |
+} |
+</style> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script src="resources/grid-definitions-parsing-utils.js"></script> |
+ |
+<div class="grid gridAutoAndAuto" id="gridAutoAndAuto"> |
+ <div class="firstRowFirstColumn">X</div> |
+ <div class="firstRowBothColumn">XXXXXX XXX</div> |
Manuel Rego
2015/06/26 11:09:47
I guess that both items are in the first row is no
svillar
2015/06/29 07:08:27
Why weird? The behavior is exactly the same, the a
Manuel Rego
2015/06/29 07:46:42
I mean weird from an outsider point of view,
that
|
+</div> |
+ |
+<div class="grid gridFixedMaxContentAndFixedMaxContent" id="gridFixedMaxContentAndFixedMaxContent"> |
+ <div class="firstRowFirstColumn">XX</div> |
Manuel Rego
2015/06/26 11:09:47
Wouldn't be better to have just one "X" here?
That
svillar
2015/06/29 07:08:27
Well this is test was made to check the infinitely
Manuel Rego
2015/06/29 07:46:42
Yeah, it's not related to this maybe you can've bo
|
+ <div class="firstRowBothColumn">XXXX X XXX</div> |
+</div> |
+ |
+<script> |
+testGridDefinitionsValues(gridAutoAndAuto, "10px 90px", "10px"); |
+testGridDefinitionsValues(gridFixedMaxContentAndFixedMaxContent, "20px 80px", "10px"); |
+</script> |
+ |
+</body> |